Package org.aspectj.weaver
Class CrosscuttingMembersSet
java.lang.Object
org.aspectj.weaver.CrosscuttingMembersSet
This holds on to all CrosscuttingMembers for a world. It handles management of change.
- Author:
- Jim Hugunin, Andy Clement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdviceLikeDeclares(ResolvedType aspectType)voidaddFixedCrosscuttingMembers(ResolvedType aspectType)booleanaddOrReplaceAspect(ResolvedType aspectType)booleanaddOrReplaceAspect(ResolvedType aspectType, boolean inWeavingPhase)booleancontainsAspect(UnresolvedType aspectType)booleandeleteAspect(UnresolvedType aspectType)Return an amalgamation of the declare type eow statementsRetrieve a subset of all known mungers, those of a specific kind.booleanvoidrecordNecessaryCheck(IVerificationRequired verification)Record something that needs verifying when we believe the type system is complete.voidreset()voidverify()Called when type bindings are complete - calls all registered verification objects in turn.voidwrite(CompressingDataOutputStream stream)
-
Field Details
-
serializationVersion
public int serializationVersion
-
-
Constructor Details
-
CrosscuttingMembersSet
-
-
Method Details
-
addOrReplaceAspect
-
addOrReplaceAspect
- Returns:
- whether or not that was a change to the global signature XXX for efficiency we will need a richer representation than this
-
addAdviceLikeDeclares
-
deleteAspect
-
containsAspect
-
addFixedCrosscuttingMembers
-
getShadowMungers
-
getTypeMungers
-
getTypeMungersOfKind
Retrieve a subset of all known mungers, those of a specific kind.- Parameters:
kind- the kind of munger requested- Returns:
- a list of those mungers (list is empty if none found)
-
getLateTypeMungers
-
getDeclareSofts
-
getDeclareParents
-
getDeclareAnnotationOnTypes
- Returns:
- an amalgamation of the declare @type statements.
-
getDeclareAnnotationOnFields
- Returns:
- an amalgamation of the declare @field statements.
-
getDeclareAnnotationOnMethods
- Returns:
- an amalgamation of the declare @method/@constructor statements.
-
getDeclareTypeEows
Return an amalgamation of the declare type eow statements -
getDeclareDominates
-
findAspectDeclaringParents
-
reset
public void reset() -
hasChangedSinceLastReset
public boolean hasChangedSinceLastReset() -
recordNecessaryCheck
Record something that needs verifying when we believe the type system is complete. Used for things that can't be verified as we go along - for example some recursive type variable references (pr133307) -
verify
public void verify()Called when type bindings are complete - calls all registered verification objects in turn. -
write
- Throws:
IOException
-