(List<IdMapping<T>> handlers, String[] keys, Object handler, @NotNull Class<T> type)
| 125 | } |
| 126 | |
| 127 | private <T> void addComponentHandler(List<IdMapping<T>> handlers, String[] keys, Object handler, @NotNull Class<T> type) { |
| 128 | if (type.isInstance(handler)) { |
| 129 | handlers.add(IdMapping.of(type.cast(handler), keys)); |
| 130 | } |
| 131 | } |
| 132 | } |
| 133 |
no test coverage detected