| Modifier and Type | Field and Description |
|---|---|
| public TypePatternList | |
| private boolean | |
| public String | |
| public UnresolvedType | |
| public TypePattern | |
| private Map | typeVariableMap
if this is non-null then when the pointcut is concretized the result will be parameterized too. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| 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 searchStart, 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 boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public FuzzyBoolean | fastMatch(FastMatchInfo type)
Implements abstract org. |
| protected Test | findResidueInternal(Shadow shadow, ExposedState state)
Implements abstract org. |
| public int | |
| protected FuzzyBoolean | matchInternal(Shadow shadow)
Implements abstract org. |
| public Pointcut | parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w)
Implements abstract org. |
| public void | |
| public static Pointcut | read(VersionedDataInputStream s, ISourceContext context)
|
| public void | resolveBindings(IScope scope, Bindings bindings)
Implements abstract org. |
| protected boolean | |
| public String | |
| public Object | traverse(PatternNodeVisitor visitor, Object data)
|
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| arguments | back to summary |
|---|---|
| public TypePatternList arguments | |
| concretizing | back to summary |
|---|---|
| private boolean concretizing | |
| name | back to summary |
|---|---|
| public String name | |
| onType | back to summary |
|---|---|
| public UnresolvedType onType | |
| onTypeSymbolic | back to summary |
|---|---|
| public TypePattern onTypeSymbolic | |
| typeVariableMap | back to summary |
|---|---|
| private Map<String, UnresolvedType> typeVariableMap if this is non-null then when the pointcut is concretized the result will be parameterized too. | |
| ReferencePointcut | back to summary |
|---|---|
| public ReferencePointcut(TypePattern onTypeSymbolic, String name, TypePatternList arguments) | |
| ReferencePointcut | back to summary |
|---|---|
| public ReferencePointcut(UnresolvedType onType, String name, TypePatternList arguments) | |
| accept | back to summary |
|---|---|
| public Object accept(PatternNodeVisitor visitor, Object data) Implements abstract org. | |
| concretize1 | back to summary |
|---|---|
| public Pointcut concretize1(ResolvedType searchStart, 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 | |
| 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.
| |
| 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. | |
| 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
| |
| matchInternal | back to summary |
|---|---|
| protected FuzzyBoolean matchInternal(Shadow shadow) Implements abstract org. Do I really match this shadow? | |
| parameterizeWith | back to summary |
|---|---|
| public Pointcut parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) Implements abstract org. make a version of this pointcut with any refs to typeVariables replaced by their entry in the map. Tricky thing is, we can't do this at the point in time this method will be called, so we make a version that will parameterize the pointcut it ultimately resolves to. | |
| postRead | back to summary |
|---|---|
| public void postRead(ResolvedType enclosingType) | |
| read | back to summary |
|---|---|
| public static Pointcut read(VersionedDataInputStream s, ISourceContext context) throws IOException | |
| resolveBindings | back to summary |
|---|---|
| public void resolveBindings(IScope scope, Bindings bindings) Implements abstract org. | |
| shouldCopyLocationForConcretize | back to summary |
|---|---|
| protected boolean shouldCopyLocationForConcretize() Overrides org. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| traverse | back to summary |
|---|---|
| public Object traverse(PatternNodeVisitor visitor, Object data) Overrides org.
| |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException Implements abstract org. | |