/** * <p>Evaluate the expression relative to the specified context, * and return information about the actual implementation method.</p> * * @param context ELContext for this evaluation */ public MethodInfo getMethodInfo(ELContext context) { if (context == null) { throw new NullPointerException(); } return new MethodInfo(elements[elements.length - 1], expectedType, signature); }
@Override public MethodInfo getMethodInfo(ELContext context) { return new MethodInfo(method.getName(), method.getReturnType(), method.getParameterTypes()); } };
public static MethodInfo getMethodInfo(Object base, Object property, Object[] paramValues) throws MethodNotFoundException { Method m = ReflectionUtil.findMethod(base, property, paramValues); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public static MethodInfo getMethodInfo(Object base, Object property, Class[] paramTypes) throws MethodNotFoundException { Method m = ReflectionUtil.getMethod(base, property, paramTypes); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public static MethodInfo getMethodInfo(Object base, Object property, Class[] paramTypes) throws MethodNotFoundException { Method m = ReflectionUtil.getMethod(base, property, paramTypes); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public static MethodInfo getMethodInfo(Object base, Object property, Object[] paramValues) throws MethodNotFoundException { Method m = ReflectionUtil.findMethod(base, property, paramValues); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public MethodInfo invoke() { return new MethodInfo(null, methodBinding.getType(facesContext), null); } });
public MethodInfo invoke() { return new MethodInfo(null, methodBinding.getType(facesContext), null); } });
public static MethodInfo getMethodInfo(Object base, Object property, Object[] paramValues) throws MethodNotFoundException { Method m = ReflectionUtil.findMethod(base, property, paramValues); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public static MethodInfo getMethodInfo(Object base, Object property, Class[] paramTypes) throws MethodNotFoundException { Method m = ReflectionUtil.getMethod(base, 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 // 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 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()); }
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); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { Target t = getTarget(ctx); if (t.isMethodCall()) { return null; } Object property = t.suffixNode.getValue(ctx); Method m = ReflectionUtil.findMethod(t.base.getClass(), property.toString(), paramTypes, null); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { Target t = getTarget(ctx); if (t.isMethodCall()) { return null; } Object property = t.suffixNode.getValue(ctx); Method m = ReflectionUtil.getMethod(t.base, property, paramTypes); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { Target t = getTarget(ctx); if (t.isMethodCall()) { return null; } Object property = t.suffixNode.getValue(ctx); Method m = ReflectionUtil.getMethod(t.base, property, paramTypes); return new MethodInfo(m.getName(), m.getReturnType(), m .getParameterTypes()); }
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException { Target t = getTarget(ctx); if (t.isMethodCall()) { return null; } Object property = t.suffixNode.getValue(ctx); Method m = ReflectionUtil.getMethod(t.base, property, paramTypes); 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; }