Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public final class Class extends Object implements Serializable { // No Constructor // Class Methods public static native Class forName(String className) throws ClassNotFoundException; // Public Instance Methods public native ClassLoader getClassLoader(); 1.1 public Class[] getClasses(); 1.1 public native Class getComponentType(); 1.1 public Constructor getConstructor(Class[] parameterTypes) throws NoSuchMethodException, SecurityException; 1.1 public Constructor[] getConstructors() throws SecurityException; 1.1 public Class[] getDeclaredClasses() throws SecurityException; 1.1 public Constructor getDeclaredConstructor(Class[] parameterTypes) throws NoSuchMethodException, SecurityException; 1.1 public Constructor[] getDeclaredConstructors() throws SecurityException; 1.1 public Field getDeclaredField(String name) throws NoSuchFieldException, SecurityException; 1.1 public Field[] getDeclaredFields() throws SecurityException; 1.1 public Method getDeclaredMethod(String name, Class[] parameterTypes) throws NoSuchMethodException, SecurityException; 1.1 public Method[] getDeclaredMethods() throws SecurityException; 1.1 public Class getDeclaringClass(); 1.1 public Field getField(String name) throws NoSuchFieldException, SecurityException; 1.1 public Field[] getFields() throws SecurityException; public native Class[] getInterfaces(); 1.1 public Method getMethod(String name, Class[] parameterTypes) throws NoSuchMethodException, SecurityException; 1.1 public Method[] getMethods() throws SecurityException; 1.1 public native int getModifiers(); public native String getName(); 1.1 public URL getResource(String name); 1.1 public InputStream getResourceAsStream(String name); 1.1 public native Object[] getSigners(); public native Class getSuperclass(); 1.1 public native boolean isArray(); 1.1 public native boolean isAssignableFrom(Class cls); 1.1 public native boolean isInstance(Object obj); public native boolean isInterface(); 1.1 public native boolean isPrimitive(); public native Object newInstance() throws InstantiationException, IllegalAccessException; public String toString(); // Overrides Object.toString() }