Generated by
JDiff

Class java.lang.Class

Added interfaces java.lang.reflect.AnnotatedElement, java.lang.reflect.GenericDeclaration, java.lang.reflect.Type.

Added Methods
Object cast(Object) Casts an object to the class or interface represented by this Class object.
Annotation getAnnotation(Class)  
Annotation[] getAnnotations()  
Annotation[] getDeclaredAnnotations()  
Method getEnclosingConstructor() If this Class object represents a local or anonymous class within a constructor, returns a Constructor object representing the immediately enclosing constructor of the underlying class.
Method getEnclosingMethod() If this Class object represents a local or anonymous class within a method, returns a Method object representing the immediately enclosing method of the underlying class.
Object[] getEnumConstants() Returns the elements of this enum class or null if this Class object does not represent an enum type.
Type[] getGenericInterfaces() Returns the Type<\tt>s representing the interfaces directly implemented by the class or interface represented by this object.
Type getGenericSuperclass() Returns the Type representing the direct superclass of the entity (class, interface, primitive type or void) represented by this Class.
TypeVariable[] getTypeParameters() Returns an array of TypeVariable objects that represent the type variables declared by the generic declaration represented by this GenericDeclaration object, in declaration order.
boolean isAnnotationPresent(Class)  
boolean isAnnotationType() Returns true if this Class object represents an annotation type.
boolean isEnum() Returns true if and only if this class was declared as an enum in the source code.