MCPcopy Index your code
hub / github.com/apache/tomcat / setValue

Method setValue

java/org/apache/el/parser/AstIdentifier.java:133–148  ·  view source on GitHub ↗
(EvaluationContext ctx, Object value)

Source from the content-addressed store, hash-verified

131 }
132
133 @Override
134 public void setValue(EvaluationContext ctx, Object value) throws ELException {
135 VariableMapper varMapper = ctx.getVariableMapper();
136 if (varMapper != null) {
137 ValueExpression expr = varMapper.resolveVariable(this.image);
138 if (expr != null) {
139 expr.setValue(ctx.getELContext(), value);
140 return;
141 }
142 }
143 ctx.setPropertyResolved(false);
144 ctx.getELResolver().setValue(ctx, null, this.image, value);
145 if (!ctx.isPropertyResolved()) {
146 throw new PropertyNotFoundException(MessageFactory.get("error.resolver.unhandled.null", this.image));
147 }
148 }
149
150 @Override
151 public Object invoke(EvaluationContext ctx, Class<?>[] paramTypes, Object[] paramValues) throws ELException {

Callers

nothing calls this directly

Calls 9

resolveVariableMethod · 0.95
setValueMethod · 0.95
getMethod · 0.95
setValueMethod · 0.65
getVariableMapperMethod · 0.45
getELContextMethod · 0.45
setPropertyResolvedMethod · 0.45
getELResolverMethod · 0.45
isPropertyResolvedMethod · 0.45

Tested by

no test coverage detected