(ELContext ctx, Object base, Object property)
| 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 |
no test coverage detected