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

Method setValue

java/jakarta/el/StaticFieldELResolver.java:71–81  ·  view source on GitHub ↗
(ELContext context, Object base, Object property, Object value)

Source from the content-addressed store, hash-verified

69
70
71 @Override
72 public void setValue(ELContext context, Object base, Object property, Object value) {
73 Objects.requireNonNull(context);
74
75 if (base instanceof ELClass && property instanceof String name) {
76 Class<?> clazz = ((ELClass) base).getKlass();
77
78 throw new PropertyNotWritableException(
79 Util.message(context, "staticFieldELResolver.notWritable", name, clazz.getName()));
80 }
81 }
82
83
84 @Override

Callers 3

testSetValue01Method · 0.95
testSetValue02Method · 0.95
doNegativeTestMethod · 0.95

Calls 3

messageMethod · 0.95
getKlassMethod · 0.80
getNameMethod · 0.65

Tested by 3

testSetValue01Method · 0.76
testSetValue02Method · 0.76
doNegativeTestMethod · 0.76