Package org.aspectj.weaver.bcel
Klasse BcelObjectType
java.lang.Object
org.aspectj.weaver.AbstractReferenceTypeDelegate
org.aspectj.weaver.bcel.BcelObjectType
- Alle implementierten Schnittstellen:
ReferenceTypeDelegate
-
Feldübersicht
FelderVon Klasse geerbte Felder org.aspectj.weaver.AbstractReferenceTypeDelegate
cachedGenericClassTypeSignature, exposedToWeaver, resolvedTypeX, UNKNOWN_SOURCE_FILE -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbooleanvoidImplementations need to clear statevoidvoidintIf known, return the compiler/weaver version used to build this delegate.Retrieves the declared interfaces - this allows for the generic signature on a type.Return the lazyClassGen associated with this type.intMust take into account generic signaturegetWorld()booleanhasAnnotation(UnresolvedType ofType) booleanbooleanbooleanbooleanCheck if the type is an @AJ aspect (no matter if used from an LTW point of view).booleanbooleanbooleanbooleanisAspect()booleanTODO Caching of methods besides getDeclaredInterfaces() may also be dependent on this flag - which?booleanisEnum()booleanbooleanbooleanisNested()booleanbooleanvoidvoidvoidsetExposedToWeaver(boolean b) voidsetJavaClass(JavaClass newclass, boolean artificial) toString()voidVon Klasse geerbte Methoden org.aspectj.weaver.AbstractReferenceTypeDelegate
doesNotExposeShadowMungers, getFormalTypeParametersFromOuterClass, getGenericClassTypeSignature, getResolvedTypeX, getSourceContext, getSourcefilename, getSourceLocation, isClass, isExposedToWeaver, setSourceContext, setSourcefilename
-
Felddetails
-
javaClass
-
-
Methodendetails
-
setJavaClass
-
isCacheable
public boolean isCacheable()Beschreibung aus Schnittstelle kopiert:ReferenceTypeDelegateTODO Caching of methods besides getDeclaredInterfaces() may also be dependent on this flag - which?- Angegeben von:
isCacheablein SchnittstelleReferenceTypeDelegate- Setzt außer Kraft:
isCacheablein KlasseAbstractReferenceTypeDelegate- Gibt zurück:
- true if something the result of getDeclaredInterfaces() can be cached by the caller
-
isInterface
public boolean isInterface() -
isEnum
public boolean isEnum() -
isAnnotation
public boolean isAnnotation() -
isAnonymous
public boolean isAnonymous() -
isNested
public boolean isNested()- Gibt zurück:
- true if this class is nested (this includes: member classes, local classes, anonymous classes)
-
getModifiers
public int getModifiers() -
getSuperclass
Must take into account generic signature -
getWorld
-
getDeclaredInterfaces
Retrieves the declared interfaces - this allows for the generic signature on a type. If specified then the generic signature is used to work out the types - this gets around the results of erasure when the class was originally compiled. -
getDeclaredMethods
-
getDeclaredFields
-
getTypeVariables
-
getTypeMungers
-
getDeclares
-
getPrivilegedAccesses
-
getDeclaredPointcuts
-
isAspect
public boolean isAspect() -
isAnnotationStyleAspect
public boolean isAnnotationStyleAspect()Check if the type is an @AJ aspect (no matter if used from an LTW point of view). Such aspects are annotated with @Aspect- Gibt zurück:
- true for @AJ aspect
-
getPerClause
- Gibt zurück:
- for an aspect declaration, return the
-
getJavaClass
-
isArtificial
public boolean isArtificial()- Gibt zurück:
- true if built from bytes obtained from somewhere. False if built from bytes retrieved from disk.
-
resetState
public void resetState() -
finishedWith
public void finishedWith() -
getWeaverState
-
printWackyStuff
-
getLazyClassGen
Return the lazyClassGen associated with this type. For aspect types, this value will be cached, since it is used to inline advice. For non-aspect types, this lazyClassGen is always newly constructed. -
isSynthetic
public boolean isSynthetic() -
getWeaverVersionAttribute
-
getAnnotationTypes
-
getAnnotations
-
hasAnnotations
public boolean hasAnnotations() -
hasAnnotation
-
isAnnotationWithRuntimeRetention
public boolean isAnnotationWithRuntimeRetention()- Gibt zurück:
- true if this annotation type has a retention policy of RUNTIME
-
getRetentionPolicy
-
canAnnotationTargetType
public boolean canAnnotationTargetType()- Gibt zurück:
- true if this annotation type can be on a regular type (ie. it doesn't specify anything or it specifies TYPE)
-
getAnnotationTargetKinds
- Gibt zurück:
- all the possible targets that this annotation can be placed upon
-
getDeclaredGenericSignature
-
getAllFormals
-
getOuterClass
-
isGeneric
public boolean isGeneric() -
toString
-
evictWeavingState
public void evictWeavingState() -
weavingCompleted
public void weavingCompleted() -
hasBeenWoven
public boolean hasBeenWoven()- Angegeben von:
hasBeenWovenin SchnittstelleReferenceTypeDelegate- Setzt außer Kraft:
hasBeenWovenin KlasseAbstractReferenceTypeDelegate
-
copySourceContext
public boolean copySourceContext()- Angegeben von:
copySourceContextin SchnittstelleReferenceTypeDelegate- Setzt außer Kraft:
copySourceContextin KlasseAbstractReferenceTypeDelegate
-
setExposedToWeaver
public void setExposedToWeaver(boolean b) -
getCompilerVersion
public int getCompilerVersion()Beschreibung aus Schnittstelle kopiert:ReferenceTypeDelegateIf known, return the compiler/weaver version used to build this delegate. Default is the most recent level as specified inAjAttribute.WeaverVersionInfo.- Angegeben von:
getCompilerVersionin SchnittstelleReferenceTypeDelegate- Setzt außer Kraft:
getCompilerVersionin KlasseAbstractReferenceTypeDelegate- Gibt zurück:
- the major version
-
ensureConsistent
public void ensureConsistent()Beschreibung aus Schnittstelle kopiert:ReferenceTypeDelegateImplementations need to clear state- Angegeben von:
ensureConsistentin SchnittstelleReferenceTypeDelegate- Setzt außer Kraft:
ensureConsistentin KlasseAbstractReferenceTypeDelegate
-
isWeavable
public boolean isWeavable()- Angegeben von:
isWeavablein SchnittstelleReferenceTypeDelegate- Setzt außer Kraft:
isWeavablein KlasseAbstractReferenceTypeDelegate
-