(@NotNull T def, @NotNull Class<T> type, @NotNull ArrAPI api, @Nullable JSONObject obj, @Nullable String key)
| 20 | private static final ConcurrentMap<Class<? extends APIObject>, @Nullable Constructor<?>> constructors = new ConcurrentHashMap<>(); |
| 21 | |
| 22 | public static <T extends APIObject> @NotNull T get(@NotNull T def, @NotNull Class<T> type, @NotNull ArrAPI api, @Nullable JSONObject obj, @Nullable String key) { |
| 23 | return get(def, type, api, obj, key, false); |
| 24 | } |
| 25 | |
| 26 | public static <T extends APIObject> @NotNull T get(@NotNull T def, @NotNull Class<T> type, @NotNull ArrAPI api, @Nullable JSONObject obj, @Nullable String key, boolean silent) { |
| 27 | T r = get(type, api, obj, key, silent); |
no test coverage detected