Package one.nio.util
Class NativeReflection
- java.lang.Object
-
- one.nio.util.NativeReflection
-
public class NativeReflection extends Object
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 Modifier and Type Field Description static booleanIS_SUPPORTED
-
Constructor Summary
Constructors Constructor Description NativeReflection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Field[]getFields(Class<?> cls, boolean includeStatic)static Method[]getMethods(Class<?> cls, boolean includeStatic)static voidopenModules()
-