org.aspectj.weaver.reflect
Class Java15ReflectionBasedReferenceTypeDelegate

java.lang.Object
  extended by org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegate
      extended by 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
Java15ReflectionBasedReferenceTypeDelegate()
           
 
Method Summary
 ReferenceType buildGenericType()
           
 AnnotationAJ[] getAnnotations()
           
 ResolvedType[] getAnnotationTypes()
           
 ResolvedMember[] getDeclaredFields()
           
 java.lang.String getDeclaredGenericSignature()
           
 ResolvedType[] getDeclaredInterfaces()
           
 ResolvedMember[] getDeclaredMethods()
           
 ResolvedMember[] getDeclaredPointcuts()
           
 ResolvedType getGenericResolvedType()
          Returns the generic type, regardless of the resolvedType we 'know about'
 ResolvedType getOuterClass()
           
 ResolvedType getSuperclass()
           
 TypeVariable[] getTypeVariables()
           
 boolean hasAnnotation(UnresolvedType ofType)
           
 void initialize(ReferenceType aType, java.lang.Class aClass, java.lang.ClassLoader classLoader, World aWorld)
           
 boolean isAnnotation()
           
 boolean isAnnotationStyleAspect()
           
 boolean isAnnotationWithRuntimeRetention()
           
 boolean isAnonymous()
           
 boolean isAspect()
           
 boolean isEnum()
           
 boolean isGeneric()
           
 boolean isNested()
           
 
Methods inherited from class org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegate
canAnnotationTargetType, copySourceContext, createResolvedMemberFor, doesNotExposeShadowMungers, ensureConsistent, getAnnotationTargetKinds, getBaseClass, getCompilerVersion, getDeclares, getModifiers, getPerClause, getPrivilegedAccesses, getResolvedTypeX, getRetentionPolicy, getSourceContext, getSourcefilename, getTypeMungers, getWeaverState, getWorld, hasBeenWoven, isCacheable, isClass, isExposedToWeaver, isInterface, isWeavable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java15ReflectionBasedReferenceTypeDelegate

public Java15ReflectionBasedReferenceTypeDelegate()
Method Detail

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

isNested

public boolean isNested()
Specified by:
isNested in interface ReferenceTypeDelegate
Overrides:
isNested in class ReflectionBasedReferenceTypeDelegate
Returns:
true if this class is nested (this includes: member classes, local classes, anonymous classes)

getOuterClass

public ResolvedType getOuterClass()
Specified by:
getOuterClass in interface ReferenceTypeDelegate
Overrides:
getOuterClass in class ReflectionBasedReferenceTypeDelegate