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
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()