@Override // Interface el.parser.Node uses raw types (and is auto-generated) public MethodInfo getMethodInfo(EvaluationContext ctx, @SuppressWarnings("rawtypes") Class[] paramTypes) throws ELException { Target t = getTarget(ctx); Method m = ReflectionUtil.getMethod( t.base, t.property, paramTypes, null); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public Class getType(FacesContext facesContext) { MethodInfo mi = _me.getMethodInfo(facesContext.getELContext()); if (mi == null) return null; return mi.getReturnType(); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { Target t = getTarget(ctx); Method m = ReflectionUtil.getMethod(t.base, t.property, paramTypes); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
@Override // Interface el.parser.Node uses raw types (and is auto-generated) public MethodInfo getMethodInfo(EvaluationContext ctx, @SuppressWarnings("rawtypes") Class[] paramTypes) throws ELException { Target t = getTarget(ctx); Method m = ReflectionUtil.getMethod(t.base, t.property, paramTypes, null); return new MethodInfo(m.getName(), m.getReturnType(), m.getParameterTypes()); }
@Override public MethodInfo getMethodInfo(ELContext context) throws ELException { context.notifyBeforeEvaluation(getExpressionString()); MethodInfo result = new MethodInfo(this.expr, this.expectedType, this.paramTypes); context.notifyAfterEvaluation(getExpressionString()); return result; }
@Override public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes) throws ELException { throw new UnsupportedOperationException(); }
public MethodInfo getMethodInfo(Object base, EvaluationContext ctx, Class[] paramTypes) throws ELException { VariableMapper orig = ctx.getVariableMapper(); ctx.setVariableMapper(new ClosureVariableMapper(orig, this.image, base)); MethodInfo result = null; try { result = this.children[0].getMethodInfo(ctx, paramTypes); } finally { ctx.setVariableMapper(orig); } return result; }
public MethodInfo getMethodInfo(Object base, EvaluationContext ctx, Class[] paramTypes) throws ELException { Collection c = this.toCollection(base); if (c == null || c.isEmpty()) { return null; } else { AstClosure closure = this.closure(); Object first = c.iterator().next(); return closure.getMethodInfo(first, ctx, paramTypes); } }
@Override // Interface el.parser.Node uses raw types (and is auto-generated) public MethodInfo getMethodInfo(EvaluationContext ctx, @SuppressWarnings("rawtypes") Class[] paramTypes) throws ELException { Target t = getTarget(ctx); Method m = ReflectionUtil.getMethod(t.base, t.property, paramTypes); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes) throws ELException;
@Override public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes) throws ELException { return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext()); }
@Override public MethodInfo getMethodInfo(ELContext context) throws ELException { return new MethodInfo(this.expr, this.expectedType, this.paramTypes); }
@Override public MethodInfo getMethodInfo(ELContext elContext) { throw new UnsupportedOperationException("Not implemented yet"); }
public MethodInfo getMethodInfo(ELContext context) { Class<?> type = _binding.getType(FacesContext.getCurrentInstance()); return new MethodInfo(null, type, null); }
public MethodInfo getMethodInfo(ELContext context) { return null; }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { throw new UnsupportedOperationException(); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext()); }
public MethodInfo getMethodInfo(ELContext context) throws ELException { return new MethodInfo(this.expr, this.expectedType, this.paramTypes); }