(ELContext context, Object base, Object property)
| 105 | } |
| 106 | |
| 107 | @Override |
| 108 | public boolean isReadOnly(ELContext context, Object base, Object property) { |
| 109 | Objects.requireNonNull(context); |
| 110 | |
| 111 | if (base instanceof Map<?,?>) { |
| 112 | context.setPropertyResolved(base, property); |
| 113 | return this.readOnly || UNMODIFIABLE.equals(base.getClass()); |
| 114 | } |
| 115 | |
| 116 | return this.readOnly; |
| 117 | } |
| 118 | |
| 119 | @Override |
| 120 | public Class<?> getCommonPropertyType(ELContext context, Object base) { |