public abstract class AbstractReferenceTypeDelegate extends java.lang.Object implements ReferenceTypeDelegate
Modifier and Type | Field and Description |
---|---|
protected GenericSignature.ClassSignature |
cachedGenericClassTypeSignature |
protected boolean |
exposedToWeaver |
protected ReferenceType |
resolvedTypeX |
static java.lang.String |
UNKNOWN_SOURCE_FILE |
Constructor and Description |
---|
AbstractReferenceTypeDelegate(ReferenceType resolvedTypeX,
boolean exposedToWeaver) |
Modifier and Type | Method and Description |
---|---|
boolean |
copySourceContext() |
boolean |
doesNotExposeShadowMungers()
Designed to be overriden by EclipseType to disable collection of shadow mungers during pre-weave compilation phase
|
void |
ensureConsistent()
Implementations need to clear state
|
int |
getCompilerVersion()
If known, return the compiler/weaver version used to build this delegate.
|
protected GenericSignature.FormalTypeParameter[] |
getFormalTypeParametersFromOuterClass() |
GenericSignature.ClassSignature |
getGenericClassTypeSignature() |
ReferenceType |
getResolvedTypeX() |
ISourceContext |
getSourceContext() |
java.lang.String |
getSourcefilename() |
ISourceLocation |
getSourceLocation() |
boolean |
hasBeenWoven() |
boolean |
isCacheable()
TODO Caching of methods besides getDeclaredInterfaces() may also be dependent on this flag - which?
|
boolean |
isClass() |
boolean |
isExposedToWeaver() |
boolean |
isWeavable() |
void |
setSourceContext(ISourceContext isc) |
void |
setSourcefilename(java.lang.String sourceFileName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
protected boolean exposedToWeaver
protected ReferenceType resolvedTypeX
protected GenericSignature.ClassSignature cachedGenericClassTypeSignature
public static final java.lang.String UNKNOWN_SOURCE_FILE
public AbstractReferenceTypeDelegate(ReferenceType resolvedTypeX, boolean exposedToWeaver)
public final boolean isClass()
isClass
in interface ReferenceTypeDelegate
public boolean isCacheable()
ReferenceTypeDelegate
isCacheable
in interface ReferenceTypeDelegate
public boolean doesNotExposeShadowMungers()
doesNotExposeShadowMungers
in interface ReferenceTypeDelegate
public boolean isExposedToWeaver()
isExposedToWeaver
in interface ReferenceTypeDelegate
public ReferenceType getResolvedTypeX()
getResolvedTypeX
in interface ReferenceTypeDelegate
public final java.lang.String getSourcefilename()
getSourcefilename
in interface ReferenceTypeDelegate
public final void setSourcefilename(java.lang.String sourceFileName)
public ISourceLocation getSourceLocation()
public ISourceContext getSourceContext()
getSourceContext
in interface ReferenceTypeDelegate
public void setSourceContext(ISourceContext isc)
public GenericSignature.ClassSignature getGenericClassTypeSignature()
protected GenericSignature.FormalTypeParameter[] getFormalTypeParametersFromOuterClass()
public boolean copySourceContext()
copySourceContext
in interface ReferenceTypeDelegate
public int getCompilerVersion()
ReferenceTypeDelegate
AjAttribute.WeaverVersionInfo
.getCompilerVersion
in interface ReferenceTypeDelegate
public void ensureConsistent()
ReferenceTypeDelegate
ensureConsistent
in interface ReferenceTypeDelegate
public boolean isWeavable()
isWeavable
in interface ReferenceTypeDelegate
public boolean hasBeenWoven()
hasBeenWoven
in interface ReferenceTypeDelegate