| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private ExactAnnotationTypePattern | |
| private String | |
| private boolean | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ThisOrTargetAnnotationPointcut(boolean isThis, ExactAnnotationTypePattern type, ShadowMunger munger)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | accept(PatternNodeVisitor visitor, Object data)
Implements abstract org. |
| private 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. |
| private boolean | |
| public int | couldMatchKinds()
Implements abstract org. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public FuzzyBoolean | fastMatch(FastMatchInfo info)
Implements abstract org. |
| protected Test | findResidueInternal(Shadow shadow, ExposedState state)
Implements abstract org. |
| public ExactAnnotationTypePattern | |
| public List | |
| public List | getBindingTypePatterns()
Implements abstract org. |
| public int | |
| public boolean | |
| 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)
|
| private void | |
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| alreadyWarnedAboutDEoW | back to summary |
|---|---|
| private boolean alreadyWarnedAboutDEoW | |
| annotationTypePattern | back to summary |
|---|---|
| private ExactAnnotationTypePattern annotationTypePattern | |
| declarationText | back to summary |
|---|---|
| private String declarationText | |
| isThis | back to summary |
|---|---|
| private boolean isThis | |
| targetKindSet | back to summary |
|---|---|
| private static final int targetKindSet | |
| thisKindSet | back to summary |
|---|---|
| private static final int thisKindSet | |
| ThisOrTargetAnnotationPointcut | back to summary |
|---|---|
| public ThisOrTargetAnnotationPointcut(boolean isThis, ExactAnnotationTypePattern type) | |
| ThisOrTargetAnnotationPointcut | back to summary |
|---|---|
| public ThisOrTargetAnnotationPointcut(boolean isThis, ExactAnnotationTypePattern type, ShadowMunger munger) | |
| accept | back to summary |
|---|---|
| public Object accept(PatternNodeVisitor visitor, Object data) Implements abstract org.
| |
| buildDeclarationText | back to summary |
|---|---|
| private 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
| |
| couldMatch | back to summary |
|---|---|
| private boolean couldMatch(Shadow shadow) | |
| 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 obj) 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?
| |
| findResidueInternal | back to summary |
|---|---|
| protected Test findResidueInternal(Shadow shadow, ExposedState state) Implements abstract org. The guard here is going to be the hasAnnotation() test - if it gets through (which we cannot determine until runtime) then we must have a TypeAnnotationAccessVar in place - this means we must *always* have one in place.
| |
| 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
| |
| isThis | back to summary |
|---|---|
| public boolean isThis() | |
| 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.
| |
| verifyRuntimeRetention | back to summary |
|---|---|
| private void verifyRuntimeRetention(ResolvedType rAnnotationType) | |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException Implements abstract org.
| |