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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdviceLikeDeclares
(ResolvedType aspectType) void
addFixedCrosscuttingMembers
(ResolvedType aspectType) boolean
addOrReplaceAspect
(ResolvedType aspectType) boolean
addOrReplaceAspect
(ResolvedType aspectType, boolean inWeavingPhase) boolean
containsAspect
(UnresolvedType aspectType) boolean
deleteAspect
(UnresolvedType aspectType) Return an amalgamation of the declare type eow statementsRetrieve a subset of all known mungers, those of a specific kind.boolean
void
recordNecessaryCheck
(IVerificationRequired verification) Record something that needs verifying when we believe the type system is complete.void
reset()
void
verify()
Called when type bindings are complete - calls all registered verification objects in turn.void
write
(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
-