(EvaluationContext ctx)
| 58 | } |
| 59 | |
| 60 | @Override |
| 61 | public Class<?> getType(EvaluationContext ctx) throws ELException { |
| 62 | |
| 63 | FunctionMapper fnMapper = ctx.getFunctionMapper(); |
| 64 | |
| 65 | // quickly validate again for this request |
| 66 | if (fnMapper == null) { |
| 67 | throw new ELException(MessageFactory.get("error.fnMapper.null")); |
| 68 | } |
| 69 | Method m = fnMapper.resolveFunction(this.prefix, this.localName); |
| 70 | if (m == null) { |
| 71 | throw new ELException(MessageFactory.get("error.fnMapper.method", this.getOutputName())); |
| 72 | } |
| 73 | return m.getReturnType(); |
| 74 | } |
| 75 | |
| 76 | @Override |
| 77 | public Object getValue(EvaluationContext ctx) throws ELException { |
nothing calls this directly
no test coverage detected