Package org.aspectj.weaver
Class AbstractReferenceTypeDelegate
- java.lang.Object
-
- org.aspectj.weaver.AbstractReferenceTypeDelegate
-
- All Implemented Interfaces:
ReferenceTypeDelegate
- Direct Known Subclasses:
BcelObjectType,GeneratedReferenceTypeDelegate
public abstract class AbstractReferenceTypeDelegate extends Object implements ReferenceTypeDelegate
-
-
Field Summary
Fields Modifier and Type Field Description protected GenericSignature.ClassSignaturecachedGenericClassTypeSignatureprotected booleanexposedToWeaverprotected ReferenceTyperesolvedTypeXstatic StringUNKNOWN_SOURCE_FILE
-
Constructor Summary
Constructors Constructor Description AbstractReferenceTypeDelegate(ReferenceType resolvedTypeX, boolean exposedToWeaver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancopySourceContext()booleandoesNotExposeShadowMungers()voidensureConsistent()intgetCompilerVersion()protected GenericSignature.FormalTypeParameter[]getFormalTypeParametersFromOuterClass()GenericSignature.ClassSignaturegetGenericClassTypeSignature()ReferenceTypegetResolvedTypeX()ISourceContextgetSourceContext()StringgetSourcefilename()ISourceLocationgetSourceLocation()booleanhasBeenWoven()booleanisCacheable()booleanisClass()booleanisExposedToWeaver()booleanisWeavable()voidsetSourceContext(ISourceContext isc)voidsetSourcefilename(String sourceFileName)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aspectj.weaver.ReferenceTypeDelegate
canAnnotationTargetType, getAnnotations, getAnnotationTargetKinds, getAnnotationTypes, getDeclaredFields, getDeclaredGenericSignature, getDeclaredInterfaces, getDeclaredMethods, getDeclaredPointcuts, getDeclares, getModifiers, getOuterClass, getPerClause, getPrivilegedAccesses, getRetentionPolicy, getSuperclass, getTypeMungers, getTypeVariables, getWeaverState, hasAnnotation, hasAnnotations, isAnnotation, isAnnotationStyleAspect, isAnnotationWithRuntimeRetention, isAnonymous, isAspect, isEnum, isGeneric, isInterface, isNested
-
-
-
-
Field Detail
-
exposedToWeaver
protected boolean exposedToWeaver
-
resolvedTypeX
protected ReferenceType resolvedTypeX
-
cachedGenericClassTypeSignature
protected GenericSignature.ClassSignature cachedGenericClassTypeSignature
-
UNKNOWN_SOURCE_FILE
public static final String UNKNOWN_SOURCE_FILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractReferenceTypeDelegate
public AbstractReferenceTypeDelegate(ReferenceType resolvedTypeX, boolean exposedToWeaver)
-
-
Method Detail
-
isClass
public final boolean isClass()
- Specified by:
isClassin interfaceReferenceTypeDelegate
-
isCacheable
public boolean isCacheable()
- Specified by:
isCacheablein interfaceReferenceTypeDelegate
-
doesNotExposeShadowMungers
public boolean doesNotExposeShadowMungers()
- Specified by:
doesNotExposeShadowMungersin interfaceReferenceTypeDelegate
-
isExposedToWeaver
public boolean isExposedToWeaver()
- Specified by:
isExposedToWeaverin interfaceReferenceTypeDelegate
-
getResolvedTypeX
public ReferenceType getResolvedTypeX()
- Specified by:
getResolvedTypeXin interfaceReferenceTypeDelegate
-
getSourcefilename
public final String getSourcefilename()
- Specified by:
getSourcefilenamein interfaceReferenceTypeDelegate
-
setSourcefilename
public final void setSourcefilename(String sourceFileName)
-
getSourceLocation
public ISourceLocation getSourceLocation()
-
getSourceContext
public ISourceContext getSourceContext()
- Specified by:
getSourceContextin interfaceReferenceTypeDelegate
-
setSourceContext
public void setSourceContext(ISourceContext isc)
-
getGenericClassTypeSignature
public GenericSignature.ClassSignature getGenericClassTypeSignature()
-
getFormalTypeParametersFromOuterClass
protected GenericSignature.FormalTypeParameter[] getFormalTypeParametersFromOuterClass()
-
copySourceContext
public boolean copySourceContext()
- Specified by:
copySourceContextin interfaceReferenceTypeDelegate
-
getCompilerVersion
public int getCompilerVersion()
- Specified by:
getCompilerVersionin interfaceReferenceTypeDelegate
-
ensureConsistent
public void ensureConsistent()
- Specified by:
ensureConsistentin interfaceReferenceTypeDelegate
-
isWeavable
public boolean isWeavable()
- Specified by:
isWeavablein interfaceReferenceTypeDelegate
-
hasBeenWoven
public boolean hasBeenWoven()
- Specified by:
hasBeenWovenin interfaceReferenceTypeDelegate
-
-