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

Method setAccessible

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Json.java:510–513  ·  view source on GitHub ↗
(@NotNull T ao)

Source from the content-addressed store, hash-verified

508 }
509
510 public static <T extends AccessibleObject> @NotNull T setAccessible(@NotNull T ao) {
511 unsafe.putBoolean(ao, OVERRIDE_OFFSET, true);
512 return ao;
513 }
514
515 public static <T> @NotNull T ensureNotNull(@Nullable T obj) {
516 assert obj != null;

Callers 14

CertClass · 0.95
PerfCounterClass · 0.95
JsonClass · 0.95
Encrypt2Class · 0.95
callNewLruHotMethod · 0.80
resetVersionMethod · 0.80
findHandleMethod · 0.80
getUnsafeMethod · 0.80
getDefaultConstructorMethod · 0.80
getFieldMethod · 0.80
getMethodHandleMethod · 0.80

Calls

no outgoing calls

Tested by 2

callNewLruHotMethod · 0.64
resetVersionMethod · 0.64