public void setValue(EvaluationContext ctx, Object value) throws ELException { Target t = getTarget(ctx); t.node.setValue(t.base, ctx, value); }
public Object getValue(EvaluationContext ctx) throws ELException { Object base = this.children[0].getValue(ctx); int propCount = this.jjtGetNumChildren(); int i = 1; while (base != null && i < propCount) { base = ((ValueSuffixNode) this.children[i]).getValue(base, ctx); if (base == null) { return base; } i++; } return base; }
final public void Value() throws ParseException { AstValue jjtn001 = new AstValue(JJTVALUE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001);
public Object getValue(EvaluationContext ctx) throws ELException { Object base = this.children[0].getValue(ctx); int propCount = this.jjtGetNumChildren(); int i = 1; while (base != null && i < propCount) { base = ((ValueSuffixNode) this.children[i]).getValue(base, ctx); if (base == null) { return base; } i++; } return base; }
final public void Value() throws ParseException { AstValue jjtn001 = new AstValue(JJTVALUE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001);
public void setValue(EvaluationContext ctx, Object value) throws ELException { Target t = getTarget(ctx); t.node.setValue(t.base, ctx, value); }
public Object getValue(EvaluationContext ctx) throws ELException { Object base = this.children[0].getValue(ctx); int propCount = this.jjtGetNumChildren(); int i = 1; while (base != null && i < propCount) { base = ((ValueSuffixNode) this.children[i]).getValue(base, ctx); if (base == null) { return base; } i++; } return base; }
final public void Value() throws ParseException { AstValue jjtn001 = new AstValue(JJTVALUE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001);
public Class getType(EvaluationContext ctx) throws ELException { Target t = getTarget(ctx); return t.node.getType(t.base, ctx); }
private final Target getTarget(EvaluationContext ctx) throws ELException { // evaluate expr-a to value-a Object base = this.children[0].getValue(ctx); // if our base is null (we know there are more properites to evaluate) if (base == null) { throw new PropertyNotFoundException(MessageFactory.get( "error.unreachable.base", this.children[0].getImage())); } // set up our start/end int propCount = this.jjtGetNumChildren() - 1; int i = 1; while (base != null && i < propCount) { base = ((ValueSuffixNode) this.children[i]).getTarget(base, ctx); i++; if (base == null) { throw new PropertyNotFoundException(MessageFactory.get( "error.unreachable.base", this.children[0].getImage())); } } Target t = new Target(); t.base = base; t.node = (ValueSuffixNode) this.children[propCount]; return t; }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { Target t = getTarget(ctx); return t.node.getMethodInfo(t.base, ctx, paramTypes); }
private final Target getTarget(EvaluationContext ctx) throws ELException { // evaluate expr-a to value-a Object base = this.children[0].getValue(ctx); // if our base is null (we know there are more properites to evaluate) if (base == null) { throw new PropertyNotFoundException(MessageFactory.get( "error.unreachable.base", this.children[0].getImage())); } // set up our start/end int propCount = this.jjtGetNumChildren() - 1; int i = 1; while (base != null && i < propCount) { base = ((ValueSuffixNode) this.children[i]).getTarget(base, ctx); i++; if (base == null) { throw new PropertyNotFoundException(MessageFactory.get( "error.unreachable.base", this.children[0].getImage())); } } Target t = new Target(); t.base = base; t.node = (ValueSuffixNode) this.children[propCount]; return t; }
public Object invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues) throws ELException { Target t = getTarget(ctx); return t.node.invoke(t.base, ctx, paramTypes, paramValues); } }
private final Target getTarget(EvaluationContext ctx) throws ELException { // evaluate expr-a to value-a Object base = this.children[0].getValue(ctx); // if our base is null (we know there are more properites to evaluate) if (base == null) { throw new PropertyNotFoundException(MessageFactory.get( "error.unreachable.base", this.children[0].getImage())); } // set up our start/end int propCount = this.jjtGetNumChildren() - 1; int i = 1; while (base != null && i < propCount) { base = ((ValueSuffixNode) this.children[i]).getTarget(base, ctx); i++; if (base == null) { throw new PropertyNotFoundException(MessageFactory.get( "error.unreachable.base", this.children[0].getImage())); } } Target t = new Target(); t.base = base; t.node = (ValueSuffixNode) this.children[propCount]; return t; }
public boolean isReadOnly(EvaluationContext ctx) throws ELException { Target t = getTarget(ctx); return t.node.isReadOnly(t.base, ctx); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { Target t = getTarget(ctx); return t.node.getMethodInfo(t.base, ctx, paramTypes); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { Target t = getTarget(ctx); return t.node.getMethodInfo(t.base, ctx, paramTypes); }
public Object invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues) throws ELException { Target t = getTarget(ctx); return t.node.invoke(t.base, ctx, paramTypes, paramValues); } }
public Object invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues) throws ELException { Target t = getTarget(ctx); return t.node.invoke(t.base, ctx, paramTypes, paramValues); } }
public boolean isReadOnly(EvaluationContext ctx) throws ELException { Target t = getTarget(ctx); return t.node.isReadOnly(t.base, ctx); }