| Modifier and Type | Field and Description |
|---|---|
| protected AjAttribute. | |
| protected UnresolvedType[] | |
| protected ResolvedType | |
| public static final int | |
| public static final int | |
| protected TypePattern | |
| public static final int | |
| private volatile int | |
| protected boolean | |
| protected List | |
| private boolean | |
| protected transient AdviceKind | |
| public ISourceLocation | |
| protected int | |
| public static final int | |
| protected Member | |
| protected List | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ShadowMunger | concretize(ResolvedType
is guaranteed to be a non-abstract aspect fromType, World world, PerClause has been concretized at a higher level clause)Implements abstract org. |
| public static int | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| protected String | |
| public int | |
| public String[] | |
| public UnresolvedType[] | |
| public ResolvedType | |
| public UnresolvedType | |
| protected int | |
| protected int | |
| public UnresolvedType | Returns: the type of the extraParameterReturn the type of the 'extra argument'. |
| public AdviceKind | |
| protected Member | |
| public Pointcut | |
| public Member | |
| public abstract boolean | |
| public boolean | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static Advice | makeCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, int nFreeVars, List<ShadowMunger> innerCflowEntries, ResolvedType inAspect)
|
| public static Advice | makePerCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, ResolvedType inAspect, List<ShadowMunger> innerCflowEntries)
|
| public static Advice | |
| public static Advice | |
| public static Advice | makeSoftener(World world, Pointcut entry, TypePattern exceptionType, ResolvedType inAspect, IHasSourceLocation loc)
|
| public boolean | match(Shadow shadow, World world)
Overrides org. |
| private void | maybeIssueUncheckedMatchWarning(ResolvedType
the type in the after returning declaration afterReturningType, ResolvedType the type at the shadow shadowReturnType, Shadow shadow, World world)In after returning advice if we are binding the extra parameter to a parameterized type we may not be able to do a type-safe conversion. |
| public void | |
| public void | |
| public void | |
| public String |
| attribute | back to summary |
|---|---|
| protected AjAttribute. | |
| bindingParameterTypes | back to summary |
|---|---|
| protected UnresolvedType[] bindingParameterTypes | |
| concreteAspect | back to summary |
|---|---|
| protected ResolvedType concreteAspect | |
| ConstantReference | back to summary |
|---|---|
| public static final int ConstantReference | |
| ConstantValue | back to summary |
|---|---|
| public static final int ConstantValue | |
| exceptionType | back to summary |
|---|---|
| protected TypePattern exceptionType | |
| ExtraArgument | back to summary |
|---|---|
| public static final int ExtraArgument | |
| hashCode | back to summary |
|---|---|
| private volatile int hashCode | |
| hasMatchedAtLeastOnce | back to summary |
|---|---|
| protected boolean hasMatchedAtLeastOnce | |
| innerCflowEntries | back to summary |
|---|---|
| protected List<ShadowMunger> innerCflowEntries | |
| isAnnotationStyle | back to summary |
|---|---|
| private boolean isAnnotationStyle | |
| kind | back to summary |
|---|---|
| protected transient AdviceKind kind | |
| lastReportedMonitorExitJoinpointLocation | back to summary |
|---|---|
| public ISourceLocation lastReportedMonitorExitJoinpointLocation | |
| nFreeVars | back to summary |
|---|---|
| protected int nFreeVars | |
| ParameterMask | back to summary |
|---|---|
| public static final int ParameterMask | |
| signature | back to summary |
|---|---|
| protected Member signature | |
| suppressedLintKinds | back to summary |
|---|---|
| protected List<Lint. | |
| ThisAspectInstance | back to summary |
|---|---|
| public static final int ThisAspectInstance | |
| ThisEnclosingJoinPointStaticPart | back to summary |
|---|---|
| public static final int ThisEnclosingJoinPointStaticPart | |
| ThisJoinPoint | back to summary |
|---|---|
| public static final int ThisJoinPoint | |
| ThisJoinPointStaticPart | back to summary |
|---|---|
| public static final int ThisJoinPointStaticPart | |
| Advice | back to summary |
|---|---|
| public Advice(AjAttribute. | |
| concretize | back to summary |
|---|---|
| public ShadowMunger concretize(ResolvedType fromType, World world, PerClause clause) Implements abstract org.
| |
| countOnes | back to summary |
|---|---|
| public static int countOnes(int bits) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| extraParametersToString | back to summary |
|---|---|
| protected String extraParametersToString() | |
| getBaseParameterCount | back to summary |
|---|---|
| public int getBaseParameterCount() | |
| getBaseParameterNames | back to summary |
|---|---|
| public String[] getBaseParameterNames(World world) | |
| getBindingParameterTypes | back to summary |
|---|---|
| public UnresolvedType[] getBindingParameterTypes() | |
| getConcreteAspect | back to summary |
|---|---|
| public ResolvedType getConcreteAspect() Implements abstract org. | |
| getDeclaringAspect | back to summary |
|---|---|
| public UnresolvedType getDeclaringAspect() | |
| getExtraParameterCount | back to summary |
|---|---|
| protected int getExtraParameterCount() | |
| getExtraParameterFlags | back to summary |
|---|---|
| protected int getExtraParameterFlags() | |
| getExtraParameterType | back to summary |
|---|---|
| public UnresolvedType 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.
| |
| getKind | back to summary |
|---|---|
| public AdviceKind getKind() | |
| getOriginalSignature | back to summary |
|---|---|
| protected Member getOriginalSignature() | |
| getPointcut | back to summary |
|---|---|
| public Pointcut getPointcut() Overrides org.
| |
| getSignature | back to summary |
|---|---|
| public Member getSignature() | |
| hasDynamicTests | back to summary |
|---|---|
| public abstract boolean hasDynamicTests() | |
| hasExtraParameter | back to summary |
|---|---|
| public boolean hasExtraParameter() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasMatchedSomething | back to summary |
|---|---|
| public boolean hasMatchedSomething() | |
| isAnnotationStyle | back to summary |
|---|---|
| public boolean isAnnotationStyle() | |
| isAroundAdvice | back to summary |
|---|---|
| public boolean isAroundAdvice() | |
| makeCflowEntry | back to summary |
|---|---|
| public static Advice makeCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, int nFreeVars, List<ShadowMunger> innerCflowEntries, ResolvedType inAspect) | |
| makePerCflowEntry | back to summary |
|---|---|
| public static Advice makePerCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, ResolvedType inAspect, List<ShadowMunger> innerCflowEntries) | |
| makePerObjectEntry | back to summary |
|---|---|
| public static Advice makePerObjectEntry(World world, Pointcut entry, boolean isThis, ResolvedType inAspect) | |
| makePerTypeWithinEntry | back to summary |
|---|---|
| public static Advice makePerTypeWithinEntry(World world, Pointcut p, ResolvedType inAspect) | |
| makeSoftener | back to summary |
|---|---|
| public static Advice makeSoftener(World world, Pointcut entry, TypePattern exceptionType, ResolvedType inAspect, IHasSourceLocation loc) | |
| match | back to summary |
|---|---|
| public boolean match(Shadow shadow, World world) Overrides org. Doc from org. All overriding methods should call super
| |
| maybeIssueUncheckedMatchWarning | back to summary |
|---|---|
| private void maybeIssueUncheckedMatchWarning(ResolvedType afterReturningType, ResolvedType shadowReturnType, Shadow shadow, World world) In after returning advice if we are binding the extra parameter to a parameterized type we may not be able to do a type-safe conversion.
| |
| setBindingParameterTypes | back to summary |
|---|---|
| public void setBindingParameterTypes(UnresolvedType[] types) | |
| setHasMatchedSomething | back to summary |
|---|---|
| public void setHasMatchedSomething(boolean hasMatchedSomething) | |
| setLexicalPosition | back to summary |
|---|---|
| public void setLexicalPosition(int lexicalPosition) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |