public class MetaAnnotatedClass<T> extends MetaAnnotatedElement<java.lang.Class<T>>
annotations, target| Constructor and Description |
|---|
MetaAnnotatedClass(java.lang.Class<T> clazz) |
equals, get, getAnnotation, getAnnotations, getDeclaredAnnotations, getMetaAnnotations, hashCode, isAnnotationPresent, toString, unroll, unroll, unrollParameterspublic MetaAnnotatedClass(java.lang.Class<T> clazz)
public MetaAnnotatedClass<?> forName(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic MetaAnnotatedClass<?> forName(java.lang.String name, boolean initialize, java.lang.ClassLoader loader) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic T newInstance() throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic boolean isInstance(java.lang.Object obj)
public boolean isAssignableFrom(java.lang.Class<?> cls)
public boolean isInterface()
public boolean isArray()
public boolean isPrimitive()
public boolean isAnnotation()
public boolean isSynthetic()
public java.lang.String getName()
public java.lang.ClassLoader getClassLoader()
public java.lang.reflect.TypeVariable<java.lang.Class<T>>[] getTypeParameters()
public MetaAnnotatedClass<? super T> getSuperclass()
public java.lang.reflect.Type getGenericSuperclass()
public java.lang.Package getPackage()
public MetaAnnotatedClass<?>[] getInterfaces()
public java.lang.reflect.Type[] getGenericInterfaces()
public MetaAnnotatedClass<?> getComponentType()
public int getModifiers()
public java.lang.Object[] getSigners()
public MetaAnnotatedMethod getEnclosingMethod()
public MetaAnnotatedConstructor<?> getEnclosingConstructor()
public MetaAnnotatedClass<?> getDeclaringClass()
public MetaAnnotatedClass<?> getEnclosingClass()
public java.lang.String getSimpleName()
public java.lang.String getCanonicalName()
public boolean isAnonymousClass()
public boolean isLocalClass()
public boolean isMemberClass()
public MetaAnnotatedClass<?>[] getClasses()
public MetaAnnotatedField[] getFields() throws java.lang.SecurityException
java.lang.SecurityExceptionpublic MetaAnnotatedMethod[] getMethods() throws java.lang.SecurityException
java.lang.SecurityExceptionpublic MetaAnnotatedConstructor<?>[] getConstructors() throws java.lang.SecurityException
java.lang.SecurityExceptionpublic MetaAnnotatedField getField(java.lang.String name) throws java.lang.NoSuchFieldException, java.lang.SecurityException
java.lang.NoSuchFieldExceptionjava.lang.SecurityExceptionpublic MetaAnnotatedMethod getMethod(java.lang.String name, java.lang.Class<?>... parameterTypes) throws java.lang.NoSuchMethodException, java.lang.SecurityException
java.lang.NoSuchMethodExceptionjava.lang.SecurityExceptionpublic MetaAnnotatedConstructor<T> getConstructor(java.lang.Class<?>... parameterTypes) throws java.lang.NoSuchMethodException, java.lang.SecurityException
java.lang.NoSuchMethodExceptionjava.lang.SecurityExceptionpublic MetaAnnotatedClass<?>[] getDeclaredClasses() throws java.lang.SecurityException
java.lang.SecurityExceptionpublic MetaAnnotatedField[] getDeclaredFields() throws java.lang.SecurityException
java.lang.SecurityExceptionpublic MetaAnnotatedMethod[] getDeclaredMethods() throws java.lang.SecurityException
java.lang.SecurityExceptionpublic MetaAnnotatedConstructor<?>[] getDeclaredConstructors() throws java.lang.SecurityException
java.lang.SecurityExceptionpublic MetaAnnotatedField getDeclaredField(java.lang.String name) throws java.lang.NoSuchFieldException, java.lang.SecurityException
java.lang.NoSuchFieldExceptionjava.lang.SecurityExceptionpublic MetaAnnotatedMethod getDeclaredMethod(java.lang.String name, java.lang.Class<?>... parameterTypes) throws java.lang.NoSuchMethodException, java.lang.SecurityException
java.lang.NoSuchMethodExceptionjava.lang.SecurityExceptionpublic MetaAnnotatedConstructor<T> getDeclaredConstructor(java.lang.Class<?>... parameterTypes) throws java.lang.NoSuchMethodException, java.lang.SecurityException
java.lang.NoSuchMethodExceptionjava.lang.SecurityExceptionpublic java.io.InputStream getResourceAsStream(java.lang.String name)
public java.net.URL getResource(java.lang.String name)
public java.security.ProtectionDomain getProtectionDomain()
public boolean desiredAssertionStatus()
public boolean isEnum()
public T[] getEnumConstants()
public T cast(java.lang.Object obj)
public <U> java.lang.Class<? extends U> asSubclass(java.lang.Class<U> clazz)