(ELContext context, Object base, Object property)
| 141 | } |
| 142 | |
| 143 | @Override |
| 144 | public Class<?> getType(ELContext context, Object base, Object property) { |
| 145 | context.setPropertyResolved(false); |
| 146 | int sz = this.resolversSize; |
| 147 | for (int i = 0; i < sz; i++) { |
| 148 | Class<?> type = this.resolvers[i].getType(context, base, property); |
| 149 | if (context.isPropertyResolved()) { |
| 150 | if (SCOPED_ATTRIBUTE_EL_RESOLVER != null && |
| 151 | SCOPED_ATTRIBUTE_EL_RESOLVER.isAssignableFrom(resolvers[i].getClass())) { |
| 152 | // Special case since |
| 153 | // jakarta.servlet.jsp.el.ScopedAttributeELResolver will |
| 154 | // always return Object.class for type |
| 155 | Object value = resolvers[i].getValue(context, base, property); |
| 156 | if (value != null) { |
| 157 | return value.getClass(); |
| 158 | } |
| 159 | } |
| 160 | return type; |
| 161 | } |
| 162 | } |
| 163 | return null; |
| 164 | } |
| 165 | |
| 166 | @Override |
| 167 | public void setValue(ELContext context, Object base, Object property, Object value) { |
nothing calls this directly
no test coverage detected