Method Summary |
|
static Class<? extends Object> | getClass(Object obj) |
static ClassLoader | getClassLoader(Class> clazz) This method satisfies the requirements of the specification for the
Class.getClassLoader Class.getClassLoader() method except
the clazz parameter may be null. |
native static ClassLoader | getClassLoader0(Class> clazz) This method satisfies the requirements of the specification for the
Class.getClassLoader Class.getClassLoader() method. |
native static Class<? extends Object> | getClassNative(Object obj) This method satisfies the requirements of the specification for the
Object.getClass Object.getClass() method. |
native static Class> | getComponentType(Class clazz) This method satisfies the requirements of the specification for the
Class.getComponentType Class.getComponentType() method. |
native static Class[] | getDeclaredClasses(Class clazz) This method satisfies the requirements of the specification for the
Class.getDeclaredClasses Class.getDeclaredClasses() method. |
native static Constructor<U>[] | getDeclaredConstructors(Class<U> clazz) This method satisfies the requirements of the specification for the
Class.getDeclaredConstructors Class.getDeclaredConstructors() method. |
native static Field[] | getDeclaredFields(Class clazz) This method satisfies the requirements of the specification for the
Class.getDeclaredFields Class.getDeclaredFields() method. |
native static Method[] | getDeclaredMethods(Class clazz) This method satisfies the requirements of the specification for the
Class.getDeclaredMethods Class.getDeclaredMethods() method. |
native static Class> | getDeclaringClass(Class clazz) This method satisfies the requirements of the specification for the
Class.getDeclaringClass Class.getDeclaringClass() method. |
native static Class | getEnclosingClass(Class> clazz) Returns the nearest enclosing class of the specified Class instance,
or null if the specified class is a top-level class.
This information is gathered from corresponding class-file structures
(either EnclosingMethod or InnerClasses attribute, if any present). |
native static Member | getEnclosingMember(Class> clazz) If the specified class is a local or anonymous class defined
within a method or constructor, returns that closest
enclosing reflection member. |
native static Class[] | getInterfaces(Class clazz) This method satisfies the requirements of the specification for the
Class.getInterfaces Class.getInterfaces() method. |
native static int | getModifiers(Class clazz) This method satisfies the requirements of the specification for the
Class.getModifiers Class.getModifiers() method. |
native static String | getName(Class clazz) This method satisfies the requirements of the specification for the
Class.getName Class.getName() method. |
native static String | getSimpleName(Class> clazz) This method satisfies the requirements of the specification for the
Class.getSimpleName Class.getSimpleName() method.
Parameters: clazz - a class to perform an operation on. |
native static Class<? super U> | getSuperclass(Class<U> clazz) This method satisfies the requirements of the specification for the
Class.getSuperclass Class.getSuperclass() method. |
native static String[][] | getSystemPackages(int len) This method returns a list describing the system packages,
in format of {{name, url}}. |
native static void | initializeClass(Class clazz) This method is used for the
Class.forName(java.lang.Stringbooleanjava.lang.ClassLoader)Class.forName(String name, boolean initialize, ClassLoader loader) method implementation. |
native static boolean | isArray(Class clazz) This method satisfies the requirements of the specification for the
Class.isArray Class.isArray() method. |
native static boolean | isAssignableFrom(Class clazz, Class> fromClazz) This method satisfies the requirements of the specification for the
Class.isAssignableFrom(java.lang.Class)Class.isAssignableFrom(Class cls) method. |
native static boolean | isInstance(Class clazz, Object obj) This method satisfies the requirements of the specification for the
Class.isInstance(java.lang.Object) Class.isInstance(Object obj) method. |
native static boolean | isPrimitive(Class clazz) This method satisfies the requirements of the specification for the
Class.isPrimitive Class.isPrimitive() method. |
native static void | linkClass(Class> clazz) This method satisfies the requirements of the specification for the
ClassLoader.resolveClass(java.lang.Class)ClassLoader.resolveClass(Class c) method. |
native static Class | loadArray(Class componentType, int dimensions) This method is used for the
Class.forName(java.lang.Stringbooleanjava.lang.ClassLoader)Class.forName(String name, boolean initialize, ClassLoader loader) method implementation. |
native static Class> | loadBootstrapClass(String name) Loads the specified class with the bootstrap classloader. |
native static void | loadLibrary(String filename, ClassLoader loader) This method is used for implementation of the
Runtime.load(java.lang.String) Runtime.load(String filename) method. |