The methods of Java.Lang.Class are listed below. For a list of all members, see the Class Members list.
See Also: Inherited members from Java.Lang.Object
AsSubclass(Class)Documentation for this section has not yet been entered. | ||
Cast(Object)Casts the given object to the type represented by this Class. | ||
DesiredAssertionStatus()Returns the assertion status for the class represented by this Class. | ||
static | ForName(string)Returns a Class object which represents the class with the given name. | |
static | ForName(string, bool, ClassLoader)Returns a Class object which represents the class with the given name. | |
static | FromType(Type)Documentation for this section has not yet been entered. | |
GetAnnotation(Class)Documentation for this section has not yet been entered. | ||
GetAnnotations()Returns an array containing all the annotations of this class. | ||
GetClasses()Returns an array containing Class objects for all public classes, interfaces, enums and annotations that are members of this class and its superclasses. | ||
GetConstructor(params Class[])Documentation for this section has not yet been entered. | ||
GetConstructors()Returns an array containing Constructor objects for all public constructors for this Class. | ||
GetDeclaredAnnotations()Returns the annotations that are directly defined on the class represented by this Class. | ||
GetDeclaredClasses()Returns an array containing Class objects for all classes, interfaces, enums and annotations that are members of this class. | ||
GetDeclaredConstructor(params Class[])Documentation for this section has not yet been entered. | ||
GetDeclaredConstructors()Returns an array containing Constructor objects for all constructors declared in the class represented by this Class. | ||
GetDeclaredField(string)Returns a Field object for the field with the given name which is declared in the class represented by this Class. | ||
GetDeclaredFields()Returns an array containing Field objects for all fields declared in the class represented by this Class. | ||
GetDeclaredMethod(string, params Class[])Documentation for this section has not yet been entered. | ||
GetDeclaredMethods()Returns an array containing Method objects for all methods declared in the class represented by this Class. | ||
GetEnumConstants()Returns the enum constants associated with this Class. | ||
GetField(string)Returns a Field object which represents the public field with the given name. | ||
GetFields()Returns an array containing Field objects for all public fields for the class C represented by this Class. | ||
GetGenericInterfaces()Returns the Java.Lang.Reflect.ITypes of the interfaces that this Class directly implements. | ||
GetInterfaces()Returns an array of Class objects that match the interfaces in the implements declaration of the class represented by this Class. | ||
GetMethod(string, params Class[])Documentation for this section has not yet been entered. | ||
GetMethods()Returns an array containing Method objects for all public methods for the class C represented by this Class. | ||
GetResource(string)Returns the URL of the given resource, or null if the resource is not found. | ||
GetResourceAsStream(string)Returns a read-only stream for the contents of the given resource, or null if the resource is not found. | ||
GetSigners()Returns null. | ||
GetTypeParameters()Returns an array containing TypeVariable objects for type variables declared by the generic class represented by this Class. | ||
IsAnnotationPresent(Class)Documentation for this section has not yet been entered. | ||
IsAssignableFrom(Class)Documentation for this section has not yet been entered. | ||
IsInstance(Object)Tests whether the given object can be cast to the class represented by this Class. | ||
NewInstance()Returns a new instance of the class represented by this Class, created by invoking the default (that is, zero-argument) constructor. |