Package org.aspectj.weaver
Class AbstractReferenceTypeDelegate
java.lang.Object
org.aspectj.weaver.AbstractReferenceTypeDelegate
- All Implemented Interfaces:
ReferenceTypeDelegate
- Direct Known Subclasses:
BcelObjectType,GeneratedReferenceTypeDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GenericSignature.ClassSignatureprotected booleanprotected ReferenceTypestatic String -
Constructor Summary
ConstructorsConstructorDescriptionAbstractReferenceTypeDelegate(ReferenceType resolvedTypeX, boolean exposedToWeaver) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanDesigned to be overriden by EclipseType to disable collection of shadow mungers during pre-weave compilation phasevoidImplementations need to clear stateintIf known, return the compiler/weaver version used to build this delegate.protected GenericSignature.FormalTypeParameter[]booleanbooleanTODO Caching of methods besides getDeclaredInterfaces() may also be dependent on this flag - which?booleanisClass()booleanbooleanvoidvoidsetSourcefilename(String sourceFileName)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 Details
-
exposedToWeaver
protected boolean exposedToWeaver -
resolvedTypeX
-
cachedGenericClassTypeSignature
-
UNKNOWN_SOURCE_FILE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractReferenceTypeDelegate
-
-
Method Details
-
isClass
public final boolean isClass()- Specified by:
isClassin interfaceReferenceTypeDelegate
-
isCacheable
public boolean isCacheable()Description copied from interface:ReferenceTypeDelegateTODO Caching of methods besides getDeclaredInterfaces() may also be dependent on this flag - which?- Specified by:
isCacheablein interfaceReferenceTypeDelegate- Returns:
- true if something the result of getDeclaredInterfaces() can be cached by the caller
-
doesNotExposeShadowMungers
public boolean doesNotExposeShadowMungers()Designed to be overriden by EclipseType to disable collection of shadow mungers during pre-weave compilation phase- Specified by:
doesNotExposeShadowMungersin interfaceReferenceTypeDelegate
-
isExposedToWeaver
public boolean isExposedToWeaver()- Specified by:
isExposedToWeaverin interfaceReferenceTypeDelegate
-
getResolvedTypeX
- Specified by:
getResolvedTypeXin interfaceReferenceTypeDelegate
-
getSourcefilename
- Specified by:
getSourcefilenamein interfaceReferenceTypeDelegate
-
setSourcefilename
-
getSourceLocation
-
getSourceContext
- Specified by:
getSourceContextin interfaceReferenceTypeDelegate
-
setSourceContext
-
getGenericClassTypeSignature
-
getFormalTypeParametersFromOuterClass
-
copySourceContext
public boolean copySourceContext()- Specified by:
copySourceContextin interfaceReferenceTypeDelegate
-
getCompilerVersion
public int getCompilerVersion()Description copied from interface:ReferenceTypeDelegateIf known, return the compiler/weaver version used to build this delegate. Default is the most recent level as specified inAjAttribute.WeaverVersionInfo.- Specified by:
getCompilerVersionin interfaceReferenceTypeDelegate- Returns:
- the major version
-
ensureConsistent
public void ensureConsistent()Description copied from interface:ReferenceTypeDelegateImplementations need to clear state- Specified by:
ensureConsistentin interfaceReferenceTypeDelegate
-
isWeavable
public boolean isWeavable()- Specified by:
isWeavablein interfaceReferenceTypeDelegate
-
hasBeenWoven
public boolean hasBeenWoven()- Specified by:
hasBeenWovenin interfaceReferenceTypeDelegate
-