Class MetaAnnotatedClass<T>
java.lang.Object
org.apache.xbean.finder.MetaAnnotatedElement<Class<T>>
org.apache.xbean.finder.MetaAnnotatedClass<T>
- All Implemented Interfaces:
AnnotatedElement, Annotated<Class<T>>, MetaAnnotated<Class<T>>
- Version:
- $Rev$ $Date$
-
Field Summary
Fields inherited from class MetaAnnotatedElement
annotations, target -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<U> Class<? extends U> asSubclass(Class<U> clazz) booleanforName(String name, boolean initialize, ClassLoader loader) MetaAnnotatedClass<?>[]getConstructor(Class<?>... parameterTypes) MetaAnnotatedClass<?>[]getDeclaredConstructor(Class<?>... parameterTypes) getDeclaredField(String name) getDeclaredMethod(String name, Class<?>... parameterTypes) T[]Type[]MetaAnnotatedClass<?>[]intgetName()getResource(String name) getResourceAsStream(String name) Object[]MetaAnnotatedClass<? super T> TypeVariable<Class<T>>[]booleanbooleanbooleanisArray()booleanisAssignableFrom(Class<?> cls) booleanisEnum()booleanisInstance(Object obj) booleanbooleanbooleanbooleanbooleanMethods inherited from class MetaAnnotatedElement
equals, get, getAnnotation, getAnnotations, getDeclaredAnnotations, getMetaAnnotations, hashCode, isAnnotationPresent, toString, unroll, unroll, unrollParametersMethods inherited from interface AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
Constructor Details
-
MetaAnnotatedClass
-
-
Method Details
-
forName
- Throws:
ClassNotFoundException
-
forName
public MetaAnnotatedClass<?> forName(String name, boolean initialize, ClassLoader loader) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
newInstance
-
isInstance
-
isAssignableFrom
-
isInterface
-
isArray
-
isPrimitive
-
isAnnotation
-
isSynthetic
-
getName
-
getClassLoader
-
getTypeParameters
-
getSuperclass
-
getGenericSuperclass
-
getPackage
-
getInterfaces
-
getGenericInterfaces
-
getComponentType
-
getModifiers
-
getSigners
-
getEnclosingMethod
-
getEnclosingConstructor
-
getDeclaringClass
-
getEnclosingClass
-
getSimpleName
-
getCanonicalName
-
isAnonymousClass
-
isLocalClass
-
isMemberClass
-
getClasses
-
getFields
- Throws:
SecurityException
-
getMethods
- Throws:
SecurityException
-
getConstructors
- Throws:
SecurityException
-
getField
-
getMethod
public MetaAnnotatedMethod getMethod(String name, Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException -
getConstructor
public MetaAnnotatedConstructor<T> getConstructor(Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException -
getDeclaredClasses
- Throws:
SecurityException
-
getDeclaredFields
- Throws:
SecurityException
-
getDeclaredMethods
- Throws:
SecurityException
-
getDeclaredConstructors
- Throws:
SecurityException
-
getDeclaredField
public MetaAnnotatedField getDeclaredField(String name) throws NoSuchFieldException, SecurityException -
getDeclaredMethod
public MetaAnnotatedMethod getDeclaredMethod(String name, Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException -
getDeclaredConstructor
public MetaAnnotatedConstructor<T> getDeclaredConstructor(Class<?>... parameterTypes) throws NoSuchMethodException, SecurityException -
getResourceAsStream
-
getResource
-
getProtectionDomain
-
desiredAssertionStatus
-
isEnum
-
getEnumConstants
-
cast
-
asSubclass
-