MCPcopy Create free account
hub / github.com/e2wugui/zeze / getDeclaredFields

Method getDeclaredFields

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Json.java:492–500  ·  view source on GitHub ↗
(@NotNull Class<?> klass)

Source from the content-addressed store, hash-verified

490 }
491
492 static @NotNull Field @NotNull [] getDeclaredFields(@NotNull Class<?> klass) {
493 try {
494 return (Field[])getDeclaredFields0MH.invokeExact(klass, false);
495 } catch (RuntimeException | Error e) {
496 throw e;
497 } catch (Throwable e) { // MethodHandle.invoke
498 throw new RuntimeException(e);
499 }
500 }
501
502 @SuppressWarnings("SameParameterValue")
503 static @Nullable Field getDeclaredField(@NotNull Class<?> klass, @NotNull String fieldName) {

Callers 5

getDeclaredFieldMethod · 0.95
mainMethod · 0.80
getUnsafeMethod · 0.80
ClassMetaMethod · 0.80
QueryHandleContainerMethod · 0.80

Calls

no outgoing calls

Tested by 1

mainMethod · 0.64