org.aspectj.weaver.reflect
Class Java15ReflectionBasedReferenceTypeDelegate
java.lang.Object
org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegate
org.aspectj.weaver.reflect.Java15ReflectionBasedReferenceTypeDelegate
- All Implemented Interfaces:
- ReferenceTypeDelegate
public class Java15ReflectionBasedReferenceTypeDelegate
- extends ReflectionBasedReferenceTypeDelegate
| Methods inherited from class org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegate |
canAnnotationTargetType, copySourceContext, createResolvedMemberFor, doesNotExposeShadowMungers, ensureConsistent, getAnnotationTargetKinds, getBaseClass, getCompilerVersion, getDeclares, getModifiers, getOuterClass, getPerClause, getPrivilegedAccesses, getResolvedTypeX, getRetentionPolicy, getSourceContext, getSourcefilename, getTypeMungers, getWeaverState, getWorld, hasBeenWoven, isCacheable, isClass, isExposedToWeaver, isInterface, isNested, isWeavable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Java15ReflectionBasedReferenceTypeDelegate
public Java15ReflectionBasedReferenceTypeDelegate()
initialize
public void initialize(ReferenceType aType,
java.lang.Class aClass,
java.lang.ClassLoader classLoader,
World aWorld)
- Overrides:
initialize in class ReflectionBasedReferenceTypeDelegate
buildGenericType
public ReferenceType buildGenericType()
- Overrides:
buildGenericType in class ReflectionBasedReferenceTypeDelegate
getAnnotations
public AnnotationAJ[] getAnnotations()
- Specified by:
getAnnotations in interface ReferenceTypeDelegate- Overrides:
getAnnotations in class ReflectionBasedReferenceTypeDelegate
getAnnotationTypes
public ResolvedType[] getAnnotationTypes()
- Specified by:
getAnnotationTypes in interface ReferenceTypeDelegate- Overrides:
getAnnotationTypes in class ReflectionBasedReferenceTypeDelegate
hasAnnotation
public boolean hasAnnotation(UnresolvedType ofType)
- Specified by:
hasAnnotation in interface ReferenceTypeDelegate- Overrides:
hasAnnotation in class ReflectionBasedReferenceTypeDelegate
getDeclaredFields
public ResolvedMember[] getDeclaredFields()
- Specified by:
getDeclaredFields in interface ReferenceTypeDelegate- Overrides:
getDeclaredFields in class ReflectionBasedReferenceTypeDelegate
getDeclaredGenericSignature
public java.lang.String getDeclaredGenericSignature()
- Specified by:
getDeclaredGenericSignature in interface ReferenceTypeDelegate- Overrides:
getDeclaredGenericSignature in class ReflectionBasedReferenceTypeDelegate
getDeclaredInterfaces
public ResolvedType[] getDeclaredInterfaces()
- Specified by:
getDeclaredInterfaces in interface ReferenceTypeDelegate- Overrides:
getDeclaredInterfaces in class ReflectionBasedReferenceTypeDelegate
getSuperclass
public ResolvedType getSuperclass()
- Specified by:
getSuperclass in interface ReferenceTypeDelegate- Overrides:
getSuperclass in class ReflectionBasedReferenceTypeDelegate
getTypeVariables
public TypeVariable[] getTypeVariables()
- Specified by:
getTypeVariables in interface ReferenceTypeDelegate- Overrides:
getTypeVariables in class ReflectionBasedReferenceTypeDelegate
getDeclaredMethods
public ResolvedMember[] getDeclaredMethods()
- Specified by:
getDeclaredMethods in interface ReferenceTypeDelegate- Overrides:
getDeclaredMethods in class ReflectionBasedReferenceTypeDelegate
getGenericResolvedType
public ResolvedType getGenericResolvedType()
- Returns the generic type, regardless of the resolvedType we 'know about'
getDeclaredPointcuts
public ResolvedMember[] getDeclaredPointcuts()
- Specified by:
getDeclaredPointcuts in interface ReferenceTypeDelegate- Overrides:
getDeclaredPointcuts in class ReflectionBasedReferenceTypeDelegate
isAnnotation
public boolean isAnnotation()
- Specified by:
isAnnotation in interface ReferenceTypeDelegate- Overrides:
isAnnotation in class ReflectionBasedReferenceTypeDelegate
isAnnotationStyleAspect
public boolean isAnnotationStyleAspect()
- Specified by:
isAnnotationStyleAspect in interface ReferenceTypeDelegate- Overrides:
isAnnotationStyleAspect in class ReflectionBasedReferenceTypeDelegate
- Returns:
- true if the type is an annotation style aspect (a type marked @Aspect)
isAnnotationWithRuntimeRetention
public boolean isAnnotationWithRuntimeRetention()
- Specified by:
isAnnotationWithRuntimeRetention in interface ReferenceTypeDelegate- Overrides:
isAnnotationWithRuntimeRetention in class ReflectionBasedReferenceTypeDelegate
- Returns:
- true if this annotation type has a retention policy of RUNTIME
isAspect
public boolean isAspect()
- Specified by:
isAspect in interface ReferenceTypeDelegate- Overrides:
isAspect in class ReflectionBasedReferenceTypeDelegate
isEnum
public boolean isEnum()
- Specified by:
isEnum in interface ReferenceTypeDelegate- Overrides:
isEnum in class ReflectionBasedReferenceTypeDelegate
isGeneric
public boolean isGeneric()
- Specified by:
isGeneric in interface ReferenceTypeDelegate- Overrides:
isGeneric in class ReflectionBasedReferenceTypeDelegate
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymous in interface ReferenceTypeDelegate- Overrides:
isAnonymous in class ReflectionBasedReferenceTypeDelegate