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

Method getValueReference

java/org/apache/el/parser/AstIdentifier.java:175–190  ·  view source on GitHub ↗
(EvaluationContext ctx)

Source from the content-addressed store, hash-verified

173
174
175 @Override
176 public ValueReference getValueReference(EvaluationContext ctx) {
177 VariableMapper varMapper = ctx.getVariableMapper();
178
179 if (varMapper == null) {
180 return null;
181 }
182
183 ValueExpression expr = varMapper.resolveVariable(this.image);
184
185 if (expr == null) {
186 return null;
187 }
188
189 return expr.getValueReference(ctx);
190 }
191
192
193 private MethodExpression getMethodExpression(EvaluationContext ctx) throws ELException {

Callers

nothing calls this directly

Calls 3

resolveVariableMethod · 0.95
getValueReferenceMethod · 0.95
getVariableMapperMethod · 0.45

Tested by

no test coverage detected