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

Method isReadOnly

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

Source from the content-addressed store, hash-verified

114 }
115
116 @Override
117 public boolean isReadOnly(EvaluationContext ctx) throws ELException {
118 VariableMapper varMapper = ctx.getVariableMapper();
119 if (varMapper != null) {
120 ValueExpression expr = varMapper.resolveVariable(this.image);
121 if (expr != null) {
122 return expr.isReadOnly(ctx.getELContext());
123 }
124 }
125 ctx.setPropertyResolved(false);
126 boolean result = ctx.getELResolver().isReadOnly(ctx, null, this.image);
127 if (!ctx.isPropertyResolved()) {
128 throw new PropertyNotFoundException(MessageFactory.get("error.resolver.unhandled.null", this.image));
129 }
130 return result;
131 }
132
133 @Override
134 public void setValue(EvaluationContext ctx, Object value) throws ELException {

Callers

nothing calls this directly

Calls 9

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

Tested by

no test coverage detected