Top Description Fields Constructors Methods
org.aspectj.weaver

public Class GeneratedReferenceTypeDelegate

extends AbstractReferenceTypeDelegate
Class Inheritance
Imports
java.util.Collection, org.aspectj.weaver.patterns.Declare, .PerClause

A delegate that can sit in the ReferenceType instance created for an aspect generated from aop.xml. Only answers the minimal set of information required as the type is processed.
Author
Andy Clement

Field Summary

Modifier and TypeField and Description
private ResolvedType
Inherited from org.aspectj.weaver.AbstractReferenceTypeDelegate:
cachedGenericClassTypeSignatureexposedToWeaverresolvedTypeXUNKNOWN_SOURCE_FILE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public AnnotationAJ[]
public AnnotationTargetKind[]
public ResolvedType[]
public ResolvedMember[]
public String
public ResolvedType[]
public ResolvedMember[]
public ResolvedMember[]
public Collection<Declare>
public int
public ResolvedType
public PerClause
public Collection<ResolvedMember>
public String
public ResolvedType
public Collection<ConcreteTypeMunger>
public TypeVariable[]
public WeaverStateInfo
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public void
Inherited from org.aspectj.weaver.AbstractReferenceTypeDelegate:
copySourceContextdoesNotExposeShadowMungersensureConsistentgetCompilerVersiongetFormalTypeParametersFromOuterClassgetGenericClassTypeSignaturegetResolvedTypeXgetSourceContextgetSourcefilenamegetSourceLocationhasBeenWovenisCacheableisClassisExposedToWeaverisWeavablesetSourceContextsetSourcefilename

Field Detail

superclassback to summary
private ResolvedType superclass

Constructor Detail

GeneratedReferenceTypeDelegateback to summary
public GeneratedReferenceTypeDelegate(ReferenceType backing)

Method Detail

canAnnotationTargetTypeback to summary
public boolean canAnnotationTargetType()

Implements org.aspectj.weaver.ReferenceTypeDelegate.canAnnotationTargetType.

Returns:boolean

Doc from org.aspectj.weaver.ReferenceTypeDelegate.canAnnotationTargetType.

true if this annotation type can be on a regular type (ie. it doesn't specify anything or it specifies TYPE)

getAnnotationsback to summary
public AnnotationAJ[] getAnnotations()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getAnnotations.

getAnnotationTargetKindsback to summary
public AnnotationTargetKind[] getAnnotationTargetKinds()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getAnnotationTargetKinds.

Returns:AnnotationTargetKind[]

Doc from org.aspectj.weaver.ReferenceTypeDelegate.getAnnotationTargetKinds.

all the possible targets that this annotation can be placed upon

getAnnotationTypesback to summary
public ResolvedType[] getAnnotationTypes()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getAnnotationTypes.

getDeclaredFieldsback to summary
public ResolvedMember[] getDeclaredFields()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getDeclaredFields.

getDeclaredGenericSignatureback to summary
public String getDeclaredGenericSignature()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getDeclaredGenericSignature.

getDeclaredInterfacesback to summary
public ResolvedType[] getDeclaredInterfaces()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getDeclaredInterfaces.

getDeclaredMethodsback to summary
public ResolvedMember[] getDeclaredMethods()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getDeclaredMethods.

getDeclaredPointcutsback to summary
public ResolvedMember[] getDeclaredPointcuts()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getDeclaredPointcuts.

getDeclaresback to summary
public Collection<Declare> getDeclares()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getDeclares.

getModifiersback to summary
public int getModifiers()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getModifiers.

getOuterClassback to summary
public ResolvedType getOuterClass()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getOuterClass.

getPerClauseback to summary
public PerClause getPerClause()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getPerClause.

Returns:PerClause

Doc from org.aspectj.weaver.ReferenceTypeDelegate.getPerClause.

for an aspect declaration, return the

getPrivilegedAccessesback to summary
public Collection<ResolvedMember> getPrivilegedAccesses()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getPrivilegedAccesses.

getRetentionPolicyback to summary
public String getRetentionPolicy()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getRetentionPolicy.

getSuperclassback to summary
public ResolvedType getSuperclass()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getSuperclass.

getTypeMungersback to summary
public Collection<ConcreteTypeMunger> getTypeMungers()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getTypeMungers.

getTypeVariablesback to summary
public TypeVariable[] getTypeVariables()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getTypeVariables.

getWeaverStateback to summary
public WeaverStateInfo getWeaverState()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getWeaverState.

hasAnnotationback to summary
public boolean hasAnnotation(UnresolvedType ofType)

Implements org.aspectj.weaver.ReferenceTypeDelegate.hasAnnotation.

hasAnnotationsback to summary
public boolean hasAnnotations()

Implements org.aspectj.weaver.ReferenceTypeDelegate.hasAnnotations.

isAnnotationback to summary
public boolean isAnnotation()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isAnnotation.

isAnnotationStyleAspectback to summary
public boolean isAnnotationStyleAspect()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isAnnotationStyleAspect.

Returns:boolean

Doc from org.aspectj.weaver.ReferenceTypeDelegate.isAnnotationStyleAspect.

true if the type is an annotation style aspect (a type marked @Aspect)

isAnnotationWithRuntimeRetentionback to summary
public boolean isAnnotationWithRuntimeRetention()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isAnnotationWithRuntimeRetention.

Returns:boolean

Doc from org.aspectj.weaver.ReferenceTypeDelegate.isAnnotationWithRuntimeRetention.

true if this annotation type has a retention policy of RUNTIME

isAnonymousback to summary
public boolean isAnonymous()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isAnonymous.

isAspectback to summary
public boolean isAspect()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isAspect.

isEnumback to summary
public boolean isEnum()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isEnum.

isGenericback to summary
public boolean isGeneric()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isGeneric.

isInterfaceback to summary
public boolean isInterface()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isInterface.

isNestedback to summary
public boolean isNested()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isNested.

Returns:boolean

Doc from org.aspectj.weaver.ReferenceTypeDelegate.isNested.

true if this class is nested (this includes: member classes, local classes, anonymous classes)

setSuperclassback to summary
public void setSuperclass(ResolvedType superclass)