(EvaluationContext ctx)
| 38 | } |
| 39 | |
| 40 | @Override |
| 41 | public Class<?> getType(EvaluationContext ctx) throws ELException { |
| 42 | VariableMapper varMapper = ctx.getVariableMapper(); |
| 43 | if (varMapper != null) { |
| 44 | ValueExpression expr = varMapper.resolveVariable(this.image); |
| 45 | if (expr != null) { |
| 46 | return expr.getType(ctx.getELContext()); |
| 47 | } |
| 48 | } |
| 49 | ctx.setPropertyResolved(false); |
| 50 | Class<?> result = ctx.getELResolver().getType(ctx, null, this.image); |
| 51 | if (!ctx.isPropertyResolved()) { |
| 52 | throw new PropertyNotFoundException(MessageFactory.get("error.resolver.unhandled.null", this.image)); |
| 53 | } |
| 54 | return result; |
| 55 | } |
| 56 | |
| 57 | @Override |
| 58 | public Object getValue(EvaluationContext ctx) throws ELException { |
nothing calls this directly
no test coverage detected