Package one.nio.util
Class NativeReflection
java.lang.Object
one.nio.util.NativeReflection
Allows to get a subset of available Class' fields or methods,
when the standard getDeclaredFields() / getDeclaredMethods()
fail with NoClassDefFoundError due to some missing class file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Field[]static Method[]getMethods(Class<?> cls, boolean includeStatic) static void
-
Field Details
-
IS_SUPPORTED
public static final boolean IS_SUPPORTED
-
-
Constructor Details
-
NativeReflection
public NativeReflection()
-
-
Method Details
-
getFields
-
getMethods
-
openModules
public static void openModules()
-