Creation -- SYMBOLIC -- then resolve(IScope) -- RESOLVED -- concretize(...) -- CONCRETE
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final Pointcut. | |
| public static final String[] | |
| public static final byte | |
| protected boolean | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| protected int | |
| private FuzzyBoolean | |
| public String[] | m_ignoreUnboundBindingForNames
ATAJ the name of the formal for which we don't want any warning when unbound since we consider them as implicitly bound. |
| public static final byte | |
| public static final byte | |
| public static final byte | |
| protected byte | |
| public static final byte | |
| public static final Pointcut. | |
| public Pointcut. | |
| public static final Pointcut. | |
| public static final byte | |
| private String[] | |
| public static final byte | |
| public static final byte | |
| public static final byte |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public final Pointcut | concretize(ResolvedType inAspect, ResolvedType declaringType, int arity)
Returns a new pointcut Only used by test cases |
| public final Pointcut | |
| public final Pointcut | |
| protected abstract Pointcut | concretize1(ResolvedType
the aspect to resolve relative to inAspect, ResolvedType declaringType, IntMap a Map from formal index in the current lexical context → formal index in the concrete advice that will run
This must always return a new Pointcut object (even if the concretized Pointcut is identical to the resolved one).
That behavior is assumed in many places. XXX fix implementors to handle state bindings)Resolves and removes ReferencePointcuts, replacing with basic ones |
| public abstract int | couldMatchKinds()
The set of ShadowKinds that this Pointcut could possibly match - an int whose bits are set according to the Kinds specified in Shadow.java |
| public abstract FuzzyBoolean | |
| public final Test | findResidue(Shadow shadow, ExposedState state)
This can be called from NotPointcut even for Pointcuts that don't match the shadow |
| protected abstract Test | |
| public static Pointcut | |
| public byte | |
| public String[] | |
| public boolean | |
| public static Pointcut | |
| public final FuzzyBoolean | |
| protected abstract FuzzyBoolean | |
| public abstract Pointcut | |
| public void | |
| public static Pointcut | |
| public final Pointcut | |
| protected abstract void | |
| public void | |
| protected boolean |
| AND | back to summary |
|---|---|
| public static final byte AND | |
| ANNOTATION | back to summary |
|---|---|
| public static final byte ANNOTATION | |
| ARGS | back to summary |
|---|---|
| public static final byte ARGS | |
| ATARGS | back to summary |
|---|---|
| public static final byte ATARGS | |
| ATTHIS_OR_TARGET | back to summary |
|---|---|
| public static final byte ATTHIS_OR_TARGET | |
| ATWITHIN | back to summary |
|---|---|
| public static final byte ATWITHIN | |
| ATWITHINCODE | back to summary |
|---|---|
| public static final byte ATWITHINCODE | |
| CFLOW | back to summary |
|---|---|
| public static final byte CFLOW | |
| CONCRETE | back to summary |
|---|---|
| public static final Pointcut. | |
| EMPTY_STRING_ARRAY | back to summary |
|---|---|
| public static final String[] EMPTY_STRING_ARRAY | |
| HANDLER | back to summary |
|---|---|
| public static final byte HANDLER | |
| hasBeenParameterized | back to summary |
|---|---|
| protected boolean hasBeenParameterized | |
| IF | back to summary |
|---|---|
| public static final byte IF | |
| IF_FALSE | back to summary |
|---|---|
| public static final byte IF_FALSE | |
| IF_TRUE | back to summary |
|---|---|
| public static final byte IF_TRUE | |
| KINDED | back to summary |
|---|---|
| public static final byte KINDED | |
| lastMatchedShadowId | back to summary |
|---|---|
| protected int lastMatchedShadowId | |
| lastMatchedShadowResult | back to summary |
|---|---|
| private FuzzyBoolean lastMatchedShadowResult | |
| m_ignoreUnboundBindingForNames | back to summary |
|---|---|
| public String[] m_ignoreUnboundBindingForNames ATAJ the name of the formal for which we don't want any warning when unbound since we consider them as implicitly bound. f.e. JoinPoint for @AJ advices | |
| NONE | back to summary |
|---|---|
| public static final byte NONE | |
| NOT | back to summary |
|---|---|
| public static final byte NOT | |
| OR | back to summary |
|---|---|
| public static final byte OR | |
| pointcutKind | back to summary |
|---|---|
| protected byte pointcutKind | |
| REFERENCE | back to summary |
|---|---|
| public static final byte REFERENCE | |
| RESOLVED | back to summary |
|---|---|
| public static final Pointcut. | |
| state | back to summary |
|---|---|
| public Pointcut. | |
| SYMBOLIC | back to summary |
|---|---|
| public static final Pointcut. | |
| THIS_OR_TARGET | back to summary |
|---|---|
| public static final byte THIS_OR_TARGET | |
| typeVariablesInScope | back to summary |
|---|---|
| private String[] typeVariablesInScope | |
| USER_EXTENSION | back to summary |
|---|---|
| public static final byte USER_EXTENSION | |
| WITHIN | back to summary |
|---|---|
| public static final byte WITHIN | |
| WITHINCODE | back to summary |
|---|---|
| public static final byte WITHINCODE | |
| Pointcut | back to summary |
|---|---|
| public Pointcut() Constructor for Pattern. | |
| assertState | back to summary |
|---|---|
| public void assertState(Pointcut. | |
| check | back to summary |
|---|---|
| public void check(ISourceContext ctx, World world) | |
| concretize | back to summary |
|---|---|
| public final Pointcut concretize(ResolvedType inAspect, ResolvedType declaringType, int arity) Returns a new pointcut Only used by test cases | |
| concretize | back to summary |
|---|---|
| public final Pointcut concretize(ResolvedType inAspect, ResolvedType declaringType, int arity, ShadowMunger advice) | |
| concretize | back to summary |
|---|---|
| public final Pointcut concretize(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) | |
| concretize1 | back to summary |
|---|---|
| protected abstract Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) Resolves and removes ReferencePointcuts, replacing with basic ones
| |
| couldMatchKinds | back to summary |
|---|---|
| public abstract int couldMatchKinds() The set of ShadowKinds that this Pointcut could possibly match - an int whose bits are set according to the Kinds specified in Shadow.java | |
| fastMatch | back to summary |
|---|---|
| public abstract FuzzyBoolean fastMatch(FastMatchInfo info) Could I match any shadows in the code defined within this type? | |
| findResidue | back to summary |
|---|---|
| public final Test findResidue(Shadow shadow, ExposedState state) This can be called from NotPointcut even for Pointcuts that don't match the shadow | |
| findResidueInternal | back to summary |
|---|---|
| protected abstract Test findResidueInternal(Shadow shadow, ExposedState state) | |
| fromString | back to summary |
|---|---|
| public static Pointcut fromString(String str) | |
| getPointcutKind | back to summary |
|---|---|
| public byte getPointcutKind() | |
| getTypeVariablesInScope | back to summary |
|---|---|
| public String[] getTypeVariablesInScope() | |
| isDeclare | back to summary |
|---|---|
| public boolean isDeclare(ShadowMunger munger) | |
| makeMatchesNothing | back to summary |
|---|---|
| public static Pointcut makeMatchesNothing(Pointcut. | |
| match | back to summary |
|---|---|
| public final FuzzyBoolean match(Shadow shadow) Do I really match this shadow? XXX implementors need to handle state | |
| matchInternal | back to summary |
|---|---|
| protected abstract FuzzyBoolean matchInternal(Shadow shadow) | |
| parameterizeWith | back to summary |
|---|---|
| public abstract Pointcut parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) | |
| postRead | back to summary |
|---|---|
| public void postRead(ResolvedType enclosingType) | |
| read | back to summary |
|---|---|
| public static Pointcut read(VersionedDataInputStream s, ISourceContext context) throws IOException | |
| resolve | back to summary |
|---|---|
| public final Pointcut resolve(IScope scope) Returns this pointcut mutated | |
| resolveBindings | back to summary |
|---|---|
| protected abstract void resolveBindings(IScope scope, Bindings bindings) | |
| setTypeVariablesInScope | back to summary |
|---|---|
| public void setTypeVariablesInScope(String[] typeVars) | |
| shouldCopyLocationForConcretize | back to summary |
|---|---|
| protected boolean shouldCopyLocationForConcretize() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | accept(PatternNodeVisitor visitor, Object data)
Implements abstract org. |
| public Pointcut | concretize1(ResolvedType
the aspect to resolve relative to inAspect, ResolvedType declaringType, IntMap a Map from formal index in the current lexical context → formal index in the concrete advice that will run
This must always return a new Pointcut object (even if the concretized Pointcut is identical to the resolved one).
That behavior is assumed in many places. XXX fix implementors to handle state bindings)Implements abstract org. |
| public int | couldMatchKinds()
Implements abstract org. |
| public FuzzyBoolean | fastMatch(FastMatchInfo type)
Implements abstract org. |
| protected Test | findResidueInternal(Shadow shadow, ExposedState state)
Implements abstract org. |
| protected FuzzyBoolean | |
| public Pointcut | parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w)
Implements abstract org. |
| public void | |
| public void | resolveBindings(IScope scope, Bindings bindings)
Implements abstract org. |
| public String | |
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| MatchesNothingPointcut | back to summary |
|---|---|
| pack-priv MatchesNothingPointcut() | |
| accept | back to summary |
|---|---|
| public Object accept(PatternNodeVisitor visitor, Object data) Implements abstract org.
| |
| concretize1 | back to summary |
|---|---|
| public Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) Implements abstract org. Doc from org. Resolves and removes ReferencePointcuts, replacing with basic ones
| |
| couldMatchKinds | back to summary |
|---|---|
| public int couldMatchKinds() Implements abstract org. Doc from org. The set of ShadowKinds that this Pointcut could possibly match - an int whose bits are set according to the Kinds specified in Shadow.java
| |
| fastMatch | back to summary |
|---|---|
| public FuzzyBoolean fastMatch(FastMatchInfo type) Implements abstract org. Doc from org. Could I match any shadows in the code defined within this type?
| |
| findResidueInternal | back to summary |
|---|---|
| protected Test findResidueInternal(Shadow shadow, ExposedState state) Implements abstract org.
| |
| matchInternal | back to summary |
|---|---|
| protected FuzzyBoolean matchInternal(Shadow shadow) Implements abstract org.
| |
| parameterizeWith | back to summary |
|---|---|
| public Pointcut parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) Implements abstract org.
| |
| postRead | back to summary |
|---|---|
| public void postRead(ResolvedType enclosingType) Overrides org.
| |
| resolveBindings | back to summary |
|---|---|
| public void resolveBindings(IScope scope, Bindings bindings) Implements abstract org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException Implements abstract org.
| |
| State | back to summary |
|---|---|
| public State(String name, int key) | |