java.lang

Class Class<T>

public final class Class<T> extends Object implements Serializable

Method Summary
booleandesiredAssertionStatus()
static ClassforName(String className)
static ClassforName(String name, boolean initialize, ClassLoader loader)
Class[]getClasses()
ClassLoadergetClassLoader()
ClassgetComponentType()
Constructor<T>getConstructor(Class... parameterTypes)
Constructor[]getConstructors()
Class[]getDeclaredClasses()
Constructor<T>getDeclaredConstructor(Class... parameterTypes)
Constructor[]getDeclaredConstructors()
FieldgetDeclaredField(String name)
Field[]getDeclaredFields()
MethodgetDeclaredMethod(String name, Class... parameterTypes)
Method[]getDeclaredMethods()
ClassgetDeclaringClass()
FieldgetField(String name)
Field[]getFields()
Class[]getInterfaces()
MethodgetMethod(String name, Class... parameterTypes)
Method[]getMethods()
intgetModifiers()
StringgetName()
PackagegetPackage()
ProtectionDomaingetProtectionDomain()
URLgetResource(String name)
InputStreamgetResourceAsStream(String name)
Object[]getSigners()
ClassgetSuperclass()
booleanisArray()
booleanisAssignableFrom(Class cls)
booleanisInstance(Object obj)
booleanisInterface()
booleanisPrimitive()
TnewInstance()
StringtoString()

Method Detail

desiredAssertionStatus

public boolean desiredAssertionStatus()

forName

public static Class forName(String className)

forName

public static Class forName(String name, boolean initialize, ClassLoader loader)

getClasses

public Class[] getClasses()

getClassLoader

public ClassLoader getClassLoader()

getComponentType

public Class getComponentType()

getConstructor

public Constructor<T> getConstructor(Class... parameterTypes)

getConstructors

public Constructor[] getConstructors()

getDeclaredClasses

public Class[] getDeclaredClasses()

getDeclaredConstructor

public Constructor<T> getDeclaredConstructor(Class... parameterTypes)

getDeclaredConstructors

public Constructor[] getDeclaredConstructors()

getDeclaredField

public Field getDeclaredField(String name)

getDeclaredFields

public Field[] getDeclaredFields()

getDeclaredMethod

public Method getDeclaredMethod(String name, Class... parameterTypes)

getDeclaredMethods

public Method[] getDeclaredMethods()

getDeclaringClass

public Class getDeclaringClass()

getField

public Field getField(String name)

getFields

public Field[] getFields()

getInterfaces

public Class[] getInterfaces()

getMethod

public Method getMethod(String name, Class... parameterTypes)

getMethods

public Method[] getMethods()

getModifiers

public int getModifiers()

getName

public String getName()

getPackage

public Package getPackage()

getProtectionDomain

public ProtectionDomain getProtectionDomain()

getResource

public URL getResource(String name)

getResourceAsStream

public InputStream getResourceAsStream(String name)

getSigners

public Object[] getSigners()

getSuperclass

public Class getSuperclass()

isArray

public boolean isArray()

isAssignableFrom

public boolean isAssignableFrom(Class cls)

isInstance

public boolean isInstance(Object obj)

isInterface

public boolean isInterface()

isPrimitive

public boolean isPrimitive()

newInstance

public T newInstance()

toString

public String toString()