Package org.aspectj.weaver.bcel
Class BcelCflowStackFieldAdder
java.lang.Object
org.aspectj.weaver.ConcreteTypeMunger
org.aspectj.weaver.bcel.BcelTypeMunger
org.aspectj.weaver.bcel.BcelCflowStackFieldAdder
- All Implemented Interfaces:
PartialOrder.PartialComparable
-
Field Summary
Fields inherited from class org.aspectj.weaver.ConcreteTypeMunger
aspectType, munger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Some type mungers are created purely to help with the implementation of shadow mungers.getMatchingSyntheticMember
(Member member) boolean
matches
(ResolvedType onType) boolean
munge
(org.aspectj.weaver.bcel.BcelClassWeaver weaver) Methods inherited from class org.aspectj.weaver.bcel.BcelTypeMunger
attemptToModifySuperCalls, equals, error, getTypeVariableAliases, hashCode, makeFieldGen, makeMethodGen, parameterizedFor, parameterizeWith, shouldOverwrite, toString
Methods inherited from class org.aspectj.weaver.ConcreteTypeMunger
compareTo, equivalentTo, fallbackCompareTo, getAspectType, getMunger, getSourceLocation, getWorld, isLateMunger, isTargetTypeParameterized
-
Constructor Details
-
BcelCflowStackFieldAdder
-
-
Method Details
-
munge
public boolean munge(org.aspectj.weaver.bcel.BcelClassWeaver weaver) - Overrides:
munge
in classBcelTypeMunger
-
getMatchingSyntheticMember
- Overrides:
getMatchingSyntheticMember
in classConcreteTypeMunger
-
getSignature
- Overrides:
getSignature
in classConcreteTypeMunger
-
matches
- Overrides:
matches
in classConcreteTypeMunger
-
existsToSupportShadowMunging
public boolean existsToSupportShadowMunging()Description copied from class:ConcreteTypeMunger
Some type mungers are created purely to help with the implementation of shadow mungers. For example to support the cflow() pointcut we create a new cflow field in the aspect, and that is added via a BcelCflowCounterFieldAdder. During compilation we need to compare sets of type mungers, and if some only come into existence after the 'shadowy' type things have been processed, we need to ignore them during the comparison. Returning true from this method indicates the type munger exists to support 'shadowy' stuff - and so can be ignored in some comparison.- Overrides:
existsToSupportShadowMunging
in classConcreteTypeMunger
-