MCPcopy Create free account
hub / github.com/egg82/fetcharr / get

Method get

Lib/src/main/java/me/egg82/arr/radarr/v3/schema/Modifier.java:25–28  ·  view source on GitHub ↗
(@NotNull Modifier def, @Nullable JSONObject obj, @Nullable String key)

Source from the content-addressed store, hash-verified

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()) {

Callers 10

QualityMethod · 0.95
validMethod · 0.45
CustomFormatResourceMethod · 0.45
FieldMethod · 0.45
MovieFileResourceMethod · 0.45
MovieResourceMethod · 0.45

Calls 2

parseMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected