MCPcopy Create free account
hub / github.com/apache/tomcat / property

Method property

java/jakarta/el/BeanELResolver.java:249–260  ·  view source on GitHub ↗
(ELContext ctx, Object base, Object property)

Source from the content-addressed store, hash-verified

247 }
248
249 private BeanProperty property(ELContext ctx, Object base, Object property) {
250 Class<?> type = base.getClass();
251 String prop = property.toString();
252
253 BeanProperties props = this.cache.get(type.getName());
254 if (props == null || type != props.getType()) {
255 props = BeanSupport.getInstance().getBeanProperties(type);
256 this.cache.put(type.getName(), props);
257 }
258
259 return props.get(ctx, prop);
260 }
261
262 private static final class ConcurrentCache<K, V> {
263

Callers 4

getTypeMethod · 0.95
getValueMethod · 0.95
setValueMethod · 0.95
isReadOnlyMethod · 0.95

Calls 8

getTypeMethod · 0.95
getInstanceMethod · 0.95
getMethod · 0.95
toStringMethod · 0.65
getMethod · 0.65
getNameMethod · 0.65
putMethod · 0.65
getBeanPropertiesMethod · 0.45

Tested by

no test coverage detected