Package 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
-
-
Field Summary
-
Fields inherited from class org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegate
classLoaderReference, myClass, world
-
-
Constructor Summary
Constructors Constructor Description Java15ReflectionBasedReferenceTypeDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceTypebuildGenericType()AnnotationAJ[]getAnnotations()ResolvedType[]getAnnotationTypes()ResolvedMember[]getDeclaredFields()StringgetDeclaredGenericSignature()ResolvedType[]getDeclaredInterfaces()ResolvedMember[]getDeclaredMethods()ResolvedMember[]getDeclaredPointcuts()ResolvedTypegetGenericResolvedType()ResolvedTypegetOuterClass()ResolvedTypegetSuperclass()TypeVariable[]getTypeVariables()booleanhasAnnotation(UnresolvedType ofType)booleanhasAnnotations()voidinitialize(ReferenceType aType, Class aClass, ClassLoader classLoader, World aWorld)booleanisAnnotation()booleanisAnnotationStyleAspect()booleanisAnnotationWithRuntimeRetention()booleanisAnonymous()booleanisAspect()booleanisEnum()booleanisGeneric()booleanisNested()-
Methods inherited from class org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegate
canAnnotationTargetType, copySourceContext, createResolvedMemberFor, doesNotExposeShadowMungers, ensureConsistent, getAnnotationTargetKinds, getBaseClass, getClazz, getCompilerVersion, getDeclares, getModifiers, getPerClause, getPrivilegedAccesses, getResolvedTypeX, getRetentionPolicy, getSourceContext, getSourcefilename, getTypeMungers, getWeaverState, getWorld, hasBeenWoven, isCacheable, isClass, isExposedToWeaver, isInterface, isWeavable
-
-
-
-
Method Detail
-
initialize
public void initialize(ReferenceType aType, Class aClass, ClassLoader classLoader, World aWorld)
- Overrides:
initializein classReflectionBasedReferenceTypeDelegate
-
buildGenericType
public ReferenceType buildGenericType()
- Overrides:
buildGenericTypein classReflectionBasedReferenceTypeDelegate
-
getAnnotations
public AnnotationAJ[] getAnnotations()
- Specified by:
getAnnotationsin interfaceReferenceTypeDelegate- Overrides:
getAnnotationsin classReflectionBasedReferenceTypeDelegate
-
getAnnotationTypes
public ResolvedType[] getAnnotationTypes()
- Specified by:
getAnnotationTypesin interfaceReferenceTypeDelegate- Overrides:
getAnnotationTypesin classReflectionBasedReferenceTypeDelegate
-
hasAnnotations
public boolean hasAnnotations()
- Specified by:
hasAnnotationsin interfaceReferenceTypeDelegate- Overrides:
hasAnnotationsin classReflectionBasedReferenceTypeDelegate
-
hasAnnotation
public boolean hasAnnotation(UnresolvedType ofType)
- Specified by:
hasAnnotationin interfaceReferenceTypeDelegate- Overrides:
hasAnnotationin classReflectionBasedReferenceTypeDelegate
-
getDeclaredFields
public ResolvedMember[] getDeclaredFields()
- Specified by:
getDeclaredFieldsin interfaceReferenceTypeDelegate- Overrides:
getDeclaredFieldsin classReflectionBasedReferenceTypeDelegate
-
getDeclaredGenericSignature
public String getDeclaredGenericSignature()
- Specified by:
getDeclaredGenericSignaturein interfaceReferenceTypeDelegate- Overrides:
getDeclaredGenericSignaturein classReflectionBasedReferenceTypeDelegate
-
getDeclaredInterfaces
public ResolvedType[] getDeclaredInterfaces()
- Specified by:
getDeclaredInterfacesin interfaceReferenceTypeDelegate- Overrides:
getDeclaredInterfacesin classReflectionBasedReferenceTypeDelegate
-
getSuperclass
public ResolvedType getSuperclass()
- Specified by:
getSuperclassin interfaceReferenceTypeDelegate- Overrides:
getSuperclassin classReflectionBasedReferenceTypeDelegate
-
getTypeVariables
public TypeVariable[] getTypeVariables()
- Specified by:
getTypeVariablesin interfaceReferenceTypeDelegate- Overrides:
getTypeVariablesin classReflectionBasedReferenceTypeDelegate
-
getDeclaredMethods
public ResolvedMember[] getDeclaredMethods()
- Specified by:
getDeclaredMethodsin interfaceReferenceTypeDelegate- Overrides:
getDeclaredMethodsin classReflectionBasedReferenceTypeDelegate
-
getGenericResolvedType
public ResolvedType getGenericResolvedType()
-
getDeclaredPointcuts
public ResolvedMember[] getDeclaredPointcuts()
- Specified by:
getDeclaredPointcutsin interfaceReferenceTypeDelegate- Overrides:
getDeclaredPointcutsin classReflectionBasedReferenceTypeDelegate
-
isAnnotation
public boolean isAnnotation()
- Specified by:
isAnnotationin interfaceReferenceTypeDelegate- Overrides:
isAnnotationin classReflectionBasedReferenceTypeDelegate
-
isAnnotationStyleAspect
public boolean isAnnotationStyleAspect()
- Specified by:
isAnnotationStyleAspectin interfaceReferenceTypeDelegate- Overrides:
isAnnotationStyleAspectin classReflectionBasedReferenceTypeDelegate
-
isAnnotationWithRuntimeRetention
public boolean isAnnotationWithRuntimeRetention()
- Specified by:
isAnnotationWithRuntimeRetentionin interfaceReferenceTypeDelegate- Overrides:
isAnnotationWithRuntimeRetentionin classReflectionBasedReferenceTypeDelegate
-
isAspect
public boolean isAspect()
- Specified by:
isAspectin interfaceReferenceTypeDelegate- Overrides:
isAspectin classReflectionBasedReferenceTypeDelegate
-
isEnum
public boolean isEnum()
- Specified by:
isEnumin interfaceReferenceTypeDelegate- Overrides:
isEnumin classReflectionBasedReferenceTypeDelegate
-
isGeneric
public boolean isGeneric()
- Specified by:
isGenericin interfaceReferenceTypeDelegate- Overrides:
isGenericin classReflectionBasedReferenceTypeDelegate
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymousin interfaceReferenceTypeDelegate- Overrides:
isAnonymousin classReflectionBasedReferenceTypeDelegate
-
isNested
public boolean isNested()
- Specified by:
isNestedin interfaceReferenceTypeDelegate- Overrides:
isNestedin classReflectionBasedReferenceTypeDelegate
-
getOuterClass
public ResolvedType getOuterClass()
- Specified by:
getOuterClassin interfaceReferenceTypeDelegate- Overrides:
getOuterClassin classReflectionBasedReferenceTypeDelegate
-
-