Top Fields Constructors Methods
org.aspectj.weaver

public abstract Class AbstractReferenceTypeDelegate

extends Object
implements ReferenceTypeDelegate
Class Inheritance
All Implemented Interfaces
org.aspectj.weaver.ReferenceTypeDelegate
Known Direct Subclasses
org.aspectj.weaver.GeneratedReferenceTypeDelegate, org.aspectj.weaver.BoundedReferenceTypeDelegate, org.aspectj.weaver.bcel.BcelObjectType
Imports
java.util.ArrayList, .Collections, .List, org.aspectj.bridge.ISourceLocation, org.aspectj.util.GenericSignature, .GenericSignature.ClassSignature, .GenericSignature.FormalTypeParameter, .GenericSignatureParser, org.aspectj.weaver.AjAttribute.WeaverVersionInfo

Field Summary

Modifier and TypeField and Description
protected GenericSignature.ClassSignature
protected boolean
protected ReferenceType
private ISourceContext
private String
public static final String

Constructor Summary

AccessConstructor and Description
public
AbstractReferenceTypeDelegate(ReferenceType resolvedTypeX, boolean exposedToWeaver)

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
doesNotExposeShadowMungers()

Implements org.aspectj.weaver.ReferenceTypeDelegate.doesNotExposeShadowMungers.

Designed to be overriden by EclipseType to disable collection of shadow mungers during pre-weave compilation phase
public void
ensureConsistent()

Implements org.aspectj.weaver.ReferenceTypeDelegate.ensureConsistent.

Implementations need to clear state
public int
getCompilerVersion()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getCompilerVersion.

If known, return the compiler/weaver version used to build this delegate.
protected GenericSignature.FormalTypeParameter[]
public GenericSignature.ClassSignature
public ReferenceType
public ISourceContext
public final String
public ISourceLocation
public boolean
public boolean
isCacheable()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isCacheable.

TODO Caching of methods besides getDeclaredInterfaces() may also be dependent on this flag - which?
public final boolean
public boolean
public boolean
public void
public final void
setSourcefilename(String sourceFileName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cachedGenericClassTypeSignatureback to summary
protected GenericSignature.ClassSignature cachedGenericClassTypeSignature
exposedToWeaverback to summary
protected boolean exposedToWeaver
resolvedTypeXback to summary
protected ReferenceType resolvedTypeX
sourceContextback to summary
private ISourceContext sourceContext
sourcefilenameback to summary
private String sourcefilename
UNKNOWN_SOURCE_FILEback to summary
public static final String UNKNOWN_SOURCE_FILE

Constructor Detail

AbstractReferenceTypeDelegateback to summary
public AbstractReferenceTypeDelegate(ReferenceType resolvedTypeX, boolean exposedToWeaver)

Method Detail

copySourceContextback to summary
public boolean copySourceContext()

Implements org.aspectj.weaver.ReferenceTypeDelegate.copySourceContext.

Annotations
@Override
doesNotExposeShadowMungersback to summary
public boolean doesNotExposeShadowMungers()

Implements org.aspectj.weaver.ReferenceTypeDelegate.doesNotExposeShadowMungers.

Designed to be overriden by EclipseType to disable collection of shadow mungers during pre-weave compilation phase

Annotations
@Override
ensureConsistentback to summary
public void ensureConsistent()

Implements org.aspectj.weaver.ReferenceTypeDelegate.ensureConsistent.

Doc from org.aspectj.weaver.ReferenceTypeDelegate.ensureConsistent.

Implementations need to clear state

Annotations
@Override
getCompilerVersionback to summary
public int getCompilerVersion()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getCompilerVersion.

Doc from org.aspectj.weaver.ReferenceTypeDelegate.getCompilerVersion.

If known, return the compiler/weaver version used to build this delegate. Default is the most recent level as specified in WeaverVersionInfo.

Returns:int

the major version

Annotations
@Override
getFormalTypeParametersFromOuterClassback to summary
protected GenericSignature.FormalTypeParameter[] getFormalTypeParametersFromOuterClass()
getGenericClassTypeSignatureback to summary
public GenericSignature.ClassSignature getGenericClassTypeSignature()
getResolvedTypeXback to summary
public ReferenceType getResolvedTypeX()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getResolvedTypeX.

Annotations
@Override
getSourceContextback to summary
public ISourceContext getSourceContext()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getSourceContext.

Annotations
@Override
getSourcefilenameback to summary
public final String getSourcefilename()

Implements org.aspectj.weaver.ReferenceTypeDelegate.getSourcefilename.

Annotations
@Override
getSourceLocationback to summary
public ISourceLocation getSourceLocation()
hasBeenWovenback to summary
public boolean hasBeenWoven()

Implements org.aspectj.weaver.ReferenceTypeDelegate.hasBeenWoven.

Annotations
@Override
isCacheableback to summary
public boolean isCacheable()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isCacheable.

Doc from org.aspectj.weaver.ReferenceTypeDelegate.isCacheable.

TODO Caching of methods besides getDeclaredInterfaces() may also be dependent on this flag - which?

Returns:boolean

true if something the result of getDeclaredInterfaces() can be cached by the caller

Annotations
@Override
isClassback to summary
public final boolean isClass()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isClass.

Annotations
@Override
isExposedToWeaverback to summary
public boolean isExposedToWeaver()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isExposedToWeaver.

Annotations
@Override
isWeavableback to summary
public boolean isWeavable()

Implements org.aspectj.weaver.ReferenceTypeDelegate.isWeavable.

Annotations
@Override
setSourceContextback to summary
public void setSourceContext(ISourceContext isc)
setSourcefilenameback to summary
public final void setSourcefilename(String sourceFileName)