Package org.aspectj.weaver
Klasse Advice
java.lang.Object
org.aspectj.weaver.ShadowMunger
org.aspectj.weaver.Advice
- Alle implementierten Schnittstellen:
PartialOrder.PartialComparable,IHasPosition
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected AjAttribute.AdviceAttributeprotected UnresolvedType[]protected ResolvedTypestatic final intstatic final intprotected TypePatternstatic final intprotected booleanprotected List<ShadowMunger> protected AdviceKindprotected intstatic final intprotected Memberstatic final intstatic final intstatic final intstatic final intVon Klasse geerbte Felder org.aspectj.weaver.ShadowMunger
end, handle, NONE, pointcut, ShadowMungerAdvice, ShadowMungerDeow, sourceContext, start -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAdvice(AjAttribute.AdviceAttribute attribute, Pointcut pointcut, Member signature) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungconcretize(ResolvedType fromType, World world, PerClause clause) static intcountOnes(int bits) booleanprotected StringintString[]getBaseParameterNames(World world) protected intprotected intReturn the type of the 'extra argument'.getKind()protected Memberabstract booleanbooleaninthashCode()booleanbooleanbooleanstatic AdvicemakeCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, int nFreeVars, List<ShadowMunger> innerCflowEntries, ResolvedType inAspect) static AdvicemakePerCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, ResolvedType inAspect, List<ShadowMunger> innerCflowEntries) static AdvicemakePerObjectEntry(World world, Pointcut entry, boolean isThis, ResolvedType inAspect) static AdvicemakePerTypeWithinEntry(World world, Pointcut p, ResolvedType inAspect) static AdvicemakeSoftener(World world, Pointcut entry, TypePattern exceptionType, ResolvedType inAspect, IHasSourceLocation loc) booleanAll overriding methods should call supervoidsetBindingParameterTypes(UnresolvedType[] types) voidsetHasMatchedSomething(boolean hasMatchedSomething) voidsetLexicalPosition(int lexicalPosition) toString()Von Klasse geerbte Methoden org.aspectj.weaver.ShadowMunger
bindsProceedingJoinPoint, fallbackCompareTo, getBinarySourceLocation, getDeclaringType, getEnd, getSourceLocation, getStart, getThrownExceptions, implementOn, isBinary, mustCheckExceptions, parameterizeWith, setDeclaringType, setPointcut, specializeOn, writeVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.util.PartialOrder.PartialComparable
compareTo
-
Felddetails
-
attribute
-
kind
-
signature
-
concreteAspect
-
innerCflowEntries
-
nFreeVars
protected int nFreeVars -
exceptionType
-
bindingParameterTypes
-
hasMatchedAtLeastOnce
protected boolean hasMatchedAtLeastOnce -
suppressedLintKinds
-
lastReportedMonitorExitJoinpointLocation
-
ExtraArgument
public static final int ExtraArgument- Siehe auch:
-
ThisJoinPoint
public static final int ThisJoinPoint- Siehe auch:
-
ThisJoinPointStaticPart
public static final int ThisJoinPointStaticPart- Siehe auch:
-
ThisEnclosingJoinPointStaticPart
public static final int ThisEnclosingJoinPointStaticPart- Siehe auch:
-
ParameterMask
public static final int ParameterMask- Siehe auch:
-
ConstantReference
public static final int ConstantReference- Siehe auch:
-
ConstantValue
public static final int ConstantValue- Siehe auch:
-
ThisAspectInstance
public static final int ThisAspectInstance- Siehe auch:
-
-
Konstruktordetails
-
Advice
-
-
Methodendetails
-
makeCflowEntry
public static Advice makeCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, int nFreeVars, List<ShadowMunger> innerCflowEntries, ResolvedType inAspect) -
makePerCflowEntry
public static Advice makePerCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, ResolvedType inAspect, List<ShadowMunger> innerCflowEntries) -
makePerObjectEntry
public static Advice makePerObjectEntry(World world, Pointcut entry, boolean isThis, ResolvedType inAspect) -
makePerTypeWithinEntry
-
isAroundAdvice
public boolean isAroundAdvice()- Setzt außer Kraft:
isAroundAdvicein KlasseShadowMunger
-
makeSoftener
public static Advice makeSoftener(World world, Pointcut entry, TypePattern exceptionType, ResolvedType inAspect, IHasSourceLocation loc) -
match
Beschreibung aus Klasse kopiert:ShadowMungerAll overriding methods should call super- Setzt außer Kraft:
matchin KlasseShadowMunger
-
getKind
-
getSignature
-
hasExtraParameter
public boolean hasExtraParameter() -
getExtraParameterFlags
protected int getExtraParameterFlags() -
getExtraParameterCount
protected int getExtraParameterCount() -
getBindingParameterTypes
-
setBindingParameterTypes
-
countOnes
public static int countOnes(int bits) -
getBaseParameterCount
public int getBaseParameterCount() -
getBaseParameterNames
-
getExtraParameterType
Return the type of the 'extra argument'. For either after returning or after throwing advice, the extra argument will be the returned value or the thrown exception respectively. With annotation style the user may declare the parameters in any order, whereas for code style they are in a well defined order. So there is some extra complexity in here for annotation style that looks up the correct parameter in the advice signature by name, based on the name specified in the annotation. If this fails then we 'fallback' to guessing at positions, where the extra argument is presumed to come at the end.- Gibt zurück:
- the type of the extraParameter
-
getDeclaringAspect
-
getOriginalSignature
-
extraParametersToString
-
getPointcut
- Setzt außer Kraft:
getPointcutin KlasseShadowMunger
-
concretize
- Angegeben von:
concretizein KlasseShadowMunger- Parameter:
fromType- is guaranteed to be a non-abstract aspectclause- has been concretized at a higher level
-
toString
-
equals
-
hashCode
public int hashCode() -
setLexicalPosition
public void setLexicalPosition(int lexicalPosition) -
isAnnotationStyle
public boolean isAnnotationStyle() -
getConcreteAspect
- Angegeben von:
getConcreteAspectin KlasseShadowMunger
-
hasMatchedSomething
public boolean hasMatchedSomething() -
setHasMatchedSomething
public void setHasMatchedSomething(boolean hasMatchedSomething) -
hasDynamicTests
public abstract boolean hasDynamicTests()
-