Matches any join point where the subject of the join point has an annotation matching the annotationTypePattern:
Join Point Kind - Subject
================================
method call - the target method
method execution - the method
constructor call - the constructor
constructor execution - the constructor
get - the target field
set - the target field
adviceexecution - the advice
initialization - the constructor
preinitialization - the constructor
staticinitialization - the type being initialized
handler - the declared type of the handled exception
| Modifier and Type | Field and Description |
|---|---|
| private ExactAnnotationTypePattern | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | accept(PatternNodeVisitor visitor, Object data)
Implements abstract org. |
| public void | |
| protected 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 boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public FuzzyBoolean | fastMatch(FastMatchInfo info)
Implements abstract org. |
| private ResolvedMember | |
| protected Test | findResidueInternal(Shadow shadow, ExposedState state)
Implements abstract org. |
| public ExactAnnotationTypePattern | |
| public List | |
| public List | getBindingTypePatterns()
Implements abstract org. |
| public int | |
| protected FuzzyBoolean | |
| public Pointcut | parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w)
Implements abstract org. |
| public static Pointcut | read(VersionedDataInputStream s, ISourceContext context)
|
| protected void | resolveBindings(IScope scope, Bindings bindings)
Implements abstract org. |
| public String | |
| public Object | traverse(PatternNodeVisitor visitor, Object data)
|
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| annotationTypePattern | back to summary |
|---|---|
| private ExactAnnotationTypePattern annotationTypePattern | |
| declarationText | back to summary |
|---|---|
| private String declarationText | |
| AnnotationPointcut | back to summary |
|---|---|
| public AnnotationPointcut(ExactAnnotationTypePattern type) | |
| AnnotationPointcut | back to summary |
|---|---|
| public AnnotationPointcut(ExactAnnotationTypePattern type, ShadowMunger munger) | |
| accept | back to summary |
|---|---|
| public Object accept(PatternNodeVisitor visitor, Object data) Implements abstract org.
| |
| buildDeclarationText | back to summary |
|---|---|
| public void buildDeclarationText() | |
| concretize1 | back to summary |
|---|---|
| protected 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
| |
| 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 info) Implements abstract org. Doc from org. Could I match any shadows in the code defined within this type?
| |
| findMethod | back to summary |
|---|---|
| private ResolvedMember findMethod(ResolvedType aspectType, ResolvedMember ajcMethod) | |
| findResidueInternal | back to summary |
|---|---|
| protected Test findResidueInternal(Shadow shadow, ExposedState state) Implements abstract org.
| |
| getAnnotationTypePattern | back to summary |
|---|---|
| public ExactAnnotationTypePattern getAnnotationTypePattern() | |
| getBindingAnnotationTypePatterns | back to summary |
|---|---|
| public List Implements abstract org.
| |
| getBindingTypePatterns | back to summary |
|---|---|
| public List 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.
| |
| parameterizeWith | back to summary |
|---|---|
| public Pointcut parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) Implements abstract org.
| |
| read | back to summary |
|---|---|
| public static Pointcut read(VersionedDataInputStream s, ISourceContext context) throws IOException | |
| resolveBindings | back to summary |
|---|---|
| protected 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. | |
| 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.
| |