return new ELClass((Class<?>) result); result = ctx.getImportHandler().resolveStatic(this.image); if (result != null) { try {
return new ELClass((Class<?>) result); result = ctx.getImportHandler().resolveStatic(this.image); if (result != null) { try {
@Override public Object getValue(EvaluationContext ctx) throws ELException { // First check if this is a lambda argument if (ctx.isLambdaArgument(this.image)) { return ctx.getLambdaArgument(this.image); } VariableMapper varMapper = ctx.getVariableMapper(); if (varMapper != null) { ValueExpression expr = varMapper.resolveVariable(this.image); if (expr != null) { return expr.getValue(ctx.getELContext()); } } ctx.setPropertyResolved(false); Object ret = ctx.getELResolver().getValue(ctx, null, this.image); if (! ctx.isPropertyResolved()) { // Check if this is an imported static field if (ctx.getImportHandler() != null) { Class<?> c = ctx.getImportHandler().resolveStatic(this.image); if (c != null) { return ctx.getELResolver().getValue(ctx, new ELClass(c), this.image); } } ELSupport.throwUnhandled(null, this.image); } return ret; }
@Override public Object getValue(EvaluationContext ctx) throws ELException { // First check if this is a lambda argument if (ctx.isLambdaArgument(this.image)) { return ctx.getLambdaArgument(this.image); } VariableMapper varMapper = ctx.getVariableMapper(); if (varMapper != null) { ValueExpression expr = varMapper.resolveVariable(this.image); if (expr != null) { return expr.getValue(ctx.getELContext()); } } ctx.setPropertyResolved(false); Object ret = ctx.getELResolver().getValue(ctx, null, this.image); if (! ctx.isPropertyResolved()) { // Check if this is an imported static field if (ctx.getImportHandler() != null) { Class<?> c = ctx.getImportHandler().resolveStatic(this.image); if (c != null) { return ctx.getELResolver().getValue(ctx, new ELClass(c), this.image); } } ELSupport.throwUnhandled(null, this.image); } return ret; }
@Override public Object getValue(EvaluationContext ctx) throws ELException { // First check if this is a lambda argument if (ctx.isLambdaArgument(this.image)) { return ctx.getLambdaArgument(this.image); } VariableMapper varMapper = ctx.getVariableMapper(); if (varMapper != null) { ValueExpression expr = varMapper.resolveVariable(this.image); if (expr != null) { return expr.getValue(ctx.getELContext()); } } ctx.setPropertyResolved(false); Object ret = ctx.getELResolver().getValue(ctx, null, this.image); if (! ctx.isPropertyResolved()) { // Check if this is an imported static field if (ctx.getImportHandler() != null) { Class<?> c = ctx.getImportHandler().resolveStatic(this.image); if (c != null) { return ctx.getELResolver().getValue(ctx, new ELClass(c), this.image); } } ELSupport.throwUnhandled(null, this.image); } return ret; }
} else { c = ctx.getImportHandler().resolveStatic(this.localName); methodName = this.localName;;
} else { c = ctx.getImportHandler().resolveStatic(this.localName); methodName = this.localName;;
} else { c = ctx.getImportHandler().resolveStatic(this.localName); methodName = this.localName;;
((AstMethodParameters) this.children[0]).getParameters(ctx)); obj = ctx.getImportHandler().resolveStatic(this.localName); if (obj != null) { return ctx.getELResolver().invoke(ctx, new ELClass((Class<?>) obj), this.localName,
((AstMethodParameters) this.children[0]).getParameters(ctx)); obj = ctx.getImportHandler().resolveStatic(this.localName); if (obj != null) { return ctx.getELResolver().invoke(ctx, new ELClass((Class<?>) obj), this.localName,