(EvaluationContext ctx, @SuppressWarnings("rawtypes") Class[] paramTypes)
| 184 | } |
| 185 | |
| 186 | @Override |
| 187 | // Interface el.parser.Node uses raw types (and is auto-generated) |
| 188 | public MethodInfo getMethodInfo(EvaluationContext ctx, @SuppressWarnings("rawtypes") Class[] paramTypes) |
| 189 | throws ELException { |
| 190 | Target t = getTarget(ctx); |
| 191 | Class<?>[] types; |
| 192 | if (isParametersProvided()) { |
| 193 | Object[] values = ((AstMethodParameters) this.jjtGetChild(this.jjtGetNumChildren() - 1)).getParameters(ctx); |
| 194 | types = getTypesFromValues(values); |
| 195 | } else { |
| 196 | types = paramTypes; |
| 197 | } |
| 198 | Method m = ReflectionUtil.getMethod(ctx, t.base, t.property, types, null); |
| 199 | return new MethodInfo(m.getName(), m.getReturnType(), m.getParameterTypes()); |
| 200 | } |
| 201 | |
| 202 | @Override |
| 203 | // Interface el.parser.Node uses a raw type (and is auto-generated) |
no test coverage detected