@Test public void getReferencedFields() throws ParseException { FormulaArgument argument = new FormulaArgument( "=[TEST_FIELD]" ); assertArrayEquals( new String[] { "TEST_FIELD" }, argument.getReferencedFields() ); }
public String[] getReferencedFields() throws ParseException { return FormulaUtil.getReferences( getFormula() ); }
FormulaArgument implements Serializable { public String[] getReferencedFields() throws ParseException { return FormulaUtil.getReferences( getFormula() ); } }
FormulaArgument implements Serializable { public String[] getReferencedFields() throws ParseException { return FormulaUtil.getReferences( getFormula() ); } FormulaArgument( final String formula ); }
FormulaArgument implements Serializable { public String[] getReferencedFields() throws ParseException { return FormulaUtil.getReferences( getFormula() ); } FormulaArgument( final String formula ); String getFormula(); static FormulaArgument create( final String reportField ); static FormulaArgument[] convert( final String[] definedArgumentNames ); static String[] convert( final FormulaArgument[] args ); String[] getReferencedFields(); Object compute( final FormulaContext formulaContext ); boolean equals( final Object o ); int hashCode(); }
FormulaArgument implements Serializable { public String[] getReferencedFields() throws ParseException { return FormulaUtil.getReferences( getFormula() ); } FormulaArgument( final String formula ); String getFormula(); static FormulaArgument create( final String reportField ); static FormulaArgument[] convert( final String[] definedArgumentNames ); static String[] convert( final FormulaArgument[] args ); String[] getReferencedFields(); Object compute( final FormulaContext formulaContext ); boolean equals( final Object o ); int hashCode();  }