MCPcopy Create free account
hub / github.com/cinit/TMoe / getStaticObject

Method getStaticObject

app/src/main/java/cc/ioctl/tmoe/util/Reflex.java:37–39  ·  view source on GitHub ↗
(Class<?> clazz, String name)

Source from the content-addressed store, hash-verified

35 }
36
37 public static Object getStaticObject(Class<?> clazz, String name) throws NoSuchFieldException {
38 return getStaticObject(clazz, name, null);
39 }
40
41 public static Object getStaticObject(Class<?> clazz, String name, Class<?> type) throws NoSuchFieldException {
42 Field f = findField(clazz, type, name);

Callers 2

isRTLMethod · 0.95
getStaticObjectOrNullMethod · 0.95

Calls 2

findFieldMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected