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, waitcanAnnotationTargetType, 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, isNestedprotected 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 ReferenceTypeDelegatepublic boolean isCacheable()
ReferenceTypeDelegateisCacheable in interface ReferenceTypeDelegatepublic boolean doesNotExposeShadowMungers()
doesNotExposeShadowMungers in interface ReferenceTypeDelegatepublic boolean isExposedToWeaver()
isExposedToWeaver in interface ReferenceTypeDelegatepublic ReferenceType getResolvedTypeX()
getResolvedTypeX in interface ReferenceTypeDelegatepublic final java.lang.String getSourcefilename()
getSourcefilename in interface ReferenceTypeDelegatepublic final void setSourcefilename(java.lang.String sourceFileName)
public ISourceLocation getSourceLocation()
public ISourceContext getSourceContext()
getSourceContext in interface ReferenceTypeDelegatepublic void setSourceContext(ISourceContext isc)
public GenericSignature.ClassSignature getGenericClassTypeSignature()
protected GenericSignature.FormalTypeParameter[] getFormalTypeParametersFromOuterClass()
public boolean copySourceContext()
copySourceContext in interface ReferenceTypeDelegatepublic int getCompilerVersion()
ReferenceTypeDelegateAjAttribute.WeaverVersionInfo.getCompilerVersion in interface ReferenceTypeDelegatepublic void ensureConsistent()
ReferenceTypeDelegateensureConsistent in interface ReferenceTypeDelegatepublic boolean isWeavable()
isWeavable in interface ReferenceTypeDelegatepublic boolean hasBeenWoven()
hasBeenWoven in interface ReferenceTypeDelegate