(@NotNull Modifier def, @Nullable JSONObject obj, @Nullable String key)
| 23 | } |
| 24 | |
| 25 | public static @NotNull Modifier get(@NotNull Modifier def, @Nullable JSONObject obj, @Nullable String key) { |
| 26 | Modifier r = get(obj, key); |
| 27 | return r != null ? r : def; |
| 28 | } |
| 29 | |
| 30 | public static @Nullable Modifier get(@Nullable JSONObject obj, @Nullable String key) { |
| 31 | if (obj == null || key == null || key.isEmpty()) { |
no test coverage detected