public class MetaAnnotatedClass<T> extends MetaAnnotatedElement<Class<T>>
annotations, target
Constructor and Description |
---|
MetaAnnotatedClass(Class<T> clazz) |
equals, get, getAnnotation, getAnnotations, getDeclaredAnnotations, getMetaAnnotations, hashCode, isAnnotationPresent, toString, unroll, unroll, unrollParameters
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
public MetaAnnotatedClass<?> forName(String className) throws ClassNotFoundException
ClassNotFoundException
public MetaAnnotatedClass<?> forName(String name, boolean initialize, ClassLoader loader) throws ClassNotFoundException
ClassNotFoundException
public T newInstance() throws InstantiationException, IllegalAccessException
public boolean isInstance(Object obj)
public boolean isAssignableFrom(Class<?> cls)
public boolean isInterface()
public boolean isArray()
public boolean isPrimitive()
public boolean isAnnotation()
public boolean isSynthetic()
public String getName()
public ClassLoader getClassLoader()
public TypeVariable<Class<T>>[] getTypeParameters()
public MetaAnnotatedClass<? super T> getSuperclass()
public Type getGenericSuperclass()
public Package getPackage()
public MetaAnnotatedClass<?>[] getInterfaces()
public Type[] getGenericInterfaces()
public MetaAnnotatedClass<?> getComponentType()
public int getModifiers()
public Object[] getSigners()
public MetaAnnotatedMethod getEnclosingMethod()
public MetaAnnotatedConstructor<?> getEnclosingConstructor()
public MetaAnnotatedClass<?> getDeclaringClass()
public MetaAnnotatedClass<?> getEnclosingClass()
public String getSimpleName()
public String getCanonicalName()
public boolean isAnonymousClass()
public boolean isLocalClass()
public boolean isMemberClass()
public MetaAnnotatedClass<?>[] getClasses()
public MetaAnnotatedField[] getFields() throws SecurityException
SecurityException
public MetaAnnotatedMethod[] getMethods() throws SecurityException
SecurityException
public MetaAnnotatedConstructor<?>[] getConstructors() throws SecurityException
SecurityException
public MetaAnnotatedField getField(String name) throws NoSuchFieldException, SecurityException
public MetaAnnotatedMethod getMethod(String name, Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException
public MetaAnnotatedConstructor<T> getConstructor(Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException
public MetaAnnotatedClass<?>[] getDeclaredClasses() throws SecurityException
SecurityException
public MetaAnnotatedField[] getDeclaredFields() throws SecurityException
SecurityException
public MetaAnnotatedMethod[] getDeclaredMethods() throws SecurityException
SecurityException
public MetaAnnotatedConstructor<?>[] getDeclaredConstructors() throws SecurityException
SecurityException
public MetaAnnotatedField getDeclaredField(String name) throws NoSuchFieldException, SecurityException
public MetaAnnotatedMethod getDeclaredMethod(String name, Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException
public MetaAnnotatedConstructor<T> getDeclaredConstructor(Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException
public InputStream getResourceAsStream(String name)
public ProtectionDomain getProtectionDomain()
public boolean desiredAssertionStatus()
public boolean isEnum()
public T[] getEnumConstants()
Copyright © 2005–2017. All rights reserved.