Package org.aspectj.weaver.bcel
Klasse BcelAccessForInlineMunger
java.lang.Object
org.aspectj.weaver.ConcreteTypeMunger
org.aspectj.weaver.bcel.BcelTypeMunger
org.aspectj.weaver.bcel.BcelAccessForInlineMunger
- Alle implementierten Schnittstellen:
PartialOrder.PartialComparable
Looks for all access to method or field that are not public within the body of the around advices and replace the invocations to
a wrapper call so that the around advice can further be inlined.
This munger is used for @AJ aspects for which inlining wrapper is not done at compile time.
Specific state and logic is kept in the munger ala ITD so that call/get/set pointcuts can still be matched on the wrapped member thanks to the EffectiveSignature attribute.
- Autor:
- Alexandre Vasseur, Andy Clement
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.weaver.ConcreteTypeMunger
aspectType, munger
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetMatchingSyntheticMember
(Member member) Looks in the wrapper we have added so that we can find their effective signature if neededboolean
matches
(ResolvedType onType) Match only the aspect for which we actboolean
munge
(org.aspectj.weaver.bcel.BcelClassWeaver weaver) Von Klasse geerbte Methoden org.aspectj.weaver.bcel.BcelTypeMunger
attemptToModifySuperCalls, equals, error, getTypeVariableAliases, hashCode, makeFieldGen, makeMethodGen, parameterizedFor, parameterizeWith, shouldOverwrite, toString
Von Klasse geerbte Methoden org.aspectj.weaver.ConcreteTypeMunger
compareTo, equivalentTo, existsToSupportShadowMunging, fallbackCompareTo, getAspectType, getMunger, getSourceLocation, getWorld, isLateMunger, isTargetTypeParameterized
-
Konstruktordetails
-
BcelAccessForInlineMunger
-
-
Methodendetails
-
munge
public boolean munge(org.aspectj.weaver.bcel.BcelClassWeaver weaver) - Setzt außer Kraft:
munge
in KlasseBcelTypeMunger
-
getMatchingSyntheticMember
Looks in the wrapper we have added so that we can find their effective signature if needed- Setzt außer Kraft:
getMatchingSyntheticMember
in KlasseConcreteTypeMunger
-
getSignature
- Setzt außer Kraft:
getSignature
in KlasseConcreteTypeMunger
-
matches
Match only the aspect for which we act- Setzt außer Kraft:
matches
in KlasseConcreteTypeMunger
-