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

Method setValue

java/jakarta/el/ELProcessor.java:112–115  ·  view source on GitHub ↗

Evaluates the given EL expression and sets the result to the specified value. This is used for EL assignment expressions. The expression is automatically wrapped in {@literal ${}} delimiters before evaluation. @param expression the EL expression to evaluate @param value the value to assign @t

(String expression, Object value)

Source from the content-addressed store, hash-verified

110 * @throws ELException if the expression cannot be evaluated or the target is not writable
111 */
112 public void setValue(String expression, Object value) {
113 ValueExpression ve = factory.createValueExpression(context, bracket(expression), Object.class);
114 ve.setValue(context, value);
115 }
116
117 /**
118 * Registers a variable in the EL context. The variable is associated with the result

Callers

nothing calls this directly

Calls 3

bracketMethod · 0.95
setValueMethod · 0.95
createValueExpressionMethod · 0.45

Tested by

no test coverage detected