Class

public final class Class extends Object
implements AnnotatedElement GenericDeclaration Serializable Type

Stub implementation of java.lang.Class.

See Also

Public Constructor Summary

Class()

Public Method Summary

<U> Class<? extends U>
asSubclass(Class<U> clazz)
T
cast(Object obj)
boolean
static Class<?>
forName(String name, boolean initialize, ClassLoader loader)
static Class<?>
forName(String className)
<A extends Annotation> A
getAnnotation(Class<A> annotationClass)
Annotation[]
getAnnotations()
Returns annotations that are present on this element.
<T extends Annotation> T[]