(ELContext context, Object obj, Class<T> type)
| 19 | public class TesterELResolverTwo extends TypeConverter { |
| 20 | |
| 21 | @Override |
| 22 | public <T> T convertToType(ELContext context, Object obj, Class<T> type) { |
| 23 | if ("2".equals(obj) && type == String.class) { |
| 24 | context.setPropertyResolved(obj, type); |
| 25 | @SuppressWarnings("unchecked") |
| 26 | T result = (T) "TWO"; |
| 27 | return result; |
| 28 | } |
| 29 | return null; |
| 30 | } |
| 31 | } |
nothing calls this directly
no test coverage detected