java.lang
Class Class

java.lang.Object
  |
  +--java.lang.Class
All Implemented Interfaces:
java.io.Serializable

public final synchronized class Class
extends Object
implements java.io.Serializable


Method Summary
 boolean desiredAssertionStatus()
           
static Class forName(String)
           
static Class forName(String, boolean, ClassLoader)
           
 Class[] getClasses()
           
 ClassLoader getClassLoader()
           
 Class getComponentType()
           
 java.lang.reflect.Constructor getConstructor(Class[])
           
 java.lang.reflect.Constructor[] getConstructors()
           
 Class[] getDeclaredClasses()
           
 java.lang.reflect.Constructor getDeclaredConstructor(Class[])
           
 java.lang.reflect.Constructor[] getDeclaredConstructors()
           
 java.lang.reflect.Field getDeclaredField(String)
           
 java.lang.reflect.Field[] getDeclaredFields()
           
 java.lang.reflect.Method getDeclaredMethod(String, Class[])
           
 java.lang.reflect.Method[] getDeclaredMethods()
           
 Class getDeclaringClass()
           
 java.lang.reflect.Field getField(String)
           
 java.lang.reflect.Field[] getFields()
           
 Class[] getInterfaces()
           
 java.lang.reflect.Method getMethod(String, Class[])
           
 java.lang.reflect.Method[] getMethods()
           
 int getModifiers()
           
 String getName()
           
 Package getPackage()
           
 java.security.ProtectionDomain getProtectionDomain()
           
 java.net.URL getResource(String)
           
 java.io.InputStream getResourceAsStream(String)
           
 Object[] getSigners()
           
 Class getSuperclass()
           
 boolean isArray()
           
 boolean isAssignableFrom(Class)
           
 boolean isInstance(Object)
           
 boolean isInterface()
           
 boolean isPrimitive()
           
 Object newInstance()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, hashCode
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

forName

public static Class forName(String)
                     throws ClassNotFoundException

forName

public static Class forName(String,
                            boolean,
                            ClassLoader)
                     throws ClassNotFoundException

newInstance

public Object newInstance()
                   throws InstantiationException,
                          IllegalAccessException

isInstance

public boolean isInstance(Object)

isAssignableFrom

public boolean isAssignableFrom(Class)

isInterface

public boolean isInterface()

isArray

public boolean isArray()

isPrimitive

public boolean isPrimitive()

getName

public String getName()

getClassLoader

public ClassLoader getClassLoader()

getSuperclass

public Class getSuperclass()

getPackage

public Package getPackage()

getInterfaces

public Class[] getInterfaces()

getComponentType

public Class getComponentType()

getModifiers

public int getModifiers()

getSigners

public Object[] getSigners()

getDeclaringClass

public Class getDeclaringClass()

getClasses

public Class[] getClasses()

getFields

public java.lang.reflect.Field[] getFields()
                                    throws SecurityException

getMethods

public java.lang.reflect.Method[] getMethods()
                                      throws SecurityException

getConstructors

public java.lang.reflect.Constructor[] getConstructors()
                                                throws SecurityException

getField

public java.lang.reflect.Field getField(String)
                                 throws NoSuchFieldException,
                                        SecurityException

getMethod

public java.lang.reflect.Method getMethod(String,
                                          Class[])
                                   throws NoSuchMethodException,
                                          SecurityException

getConstructor

public java.lang.reflect.Constructor getConstructor(Class[])
                                             throws NoSuchMethodException,
                                                    SecurityException

getDeclaredClasses

public Class[] getDeclaredClasses()
                           throws SecurityException

getDeclaredFields

public java.lang.reflect.Field[] getDeclaredFields()
                                            throws SecurityException

getDeclaredMethods

public java.lang.reflect.Method[] getDeclaredMethods()
                                              throws SecurityException

getDeclaredConstructors

public java.lang.reflect.Constructor[] getDeclaredConstructors()
                                                        throws SecurityException

getDeclaredField

public java.lang.reflect.Field getDeclaredField(String)
                                         throws NoSuchFieldException,
                                                SecurityException

getDeclaredMethod

public java.lang.reflect.Method getDeclaredMethod(String,
                                                  Class[])
                                           throws NoSuchMethodException,
                                                  SecurityException

getDeclaredConstructor

public java.lang.reflect.Constructor getDeclaredConstructor(Class[])
                                                     throws NoSuchMethodException,
                                                            SecurityException

getResourceAsStream

public java.io.InputStream getResourceAsStream(String)

getResource

public java.net.URL getResource(String)

getProtectionDomain

public java.security.ProtectionDomain getProtectionDomain()

desiredAssertionStatus

public boolean desiredAssertionStatus()