Java.Lang.Class: Method Members

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

Public Methods

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