| Modifier and Type | Field and Description |
|---|---|
| private TypePatternList | |
| private IScope |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object | accept(PatternNodeVisitor visitor, Object data)
Implements abstract org. |
| public int | |
| public void | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public String | getNameSuffix()
Implements abstract org. |
| public TypePatternList | |
| public int | |
| public boolean | isAdviceLike()
Implements abstract org. |
| private int | |
| public Declare | parameterizeWith(Map<K, V> typeVariableBindingMap, World w)
Implements abstract org. |
| public static Declare | read(VersionedDataInputStream s, ISourceContext context)
|
| public void | resolve(IScope scope)
Implements abstract org. |
| public void | |
| public String | |
| public Object | traverse(PatternNodeVisitor visitor, Object data)
|
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| patterns | back to summary |
|---|---|
| private TypePatternList patterns | |
| scope | back to summary |
|---|---|
| private IScope scope | |
| DeclarePrecedence | back to summary |
|---|---|
| public DeclarePrecedence(List<E> patterns) | |
| DeclarePrecedence | back to summary |
|---|---|
| private DeclarePrecedence(TypePatternList patterns) | |
| accept | back to summary |
|---|---|
| public Object accept(PatternNodeVisitor visitor, Object data) Implements abstract org. | |
| compare | back to summary |
|---|---|
| public int compare(ResolvedType aspect1, ResolvedType aspect2) | |
| ensureResolved | back to summary |
|---|---|
| public void ensureResolved() | |
| 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.
| |
| getNameSuffix | back to summary |
|---|---|
| public String getNameSuffix() Implements abstract org. Doc from org. Declares have methods in the .class file against which info can be stored (for example, the annotation in the case of declare annotation). The name is of the form ajc$declare_XXX_NNN where XXX can optionally be set in this 'getNameSuffix()' method - depending on whether, at weave time, we want to easily differentiate between the declare methods. | |
| getPatterns | back to summary |
|---|---|
| public TypePatternList getPatterns() | |
| 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
| |
| isAdviceLike | back to summary |
|---|---|
| public boolean isAdviceLike() Implements abstract org. Doc from org. Indicates if this declare should be treated like advice. If true, the declare will have no effect in an abstract aspect. It will be inherited by any concrete aspects and will have an effect for each concrete aspect it is ultimately inherited by. | |
| matchingIndex | back to summary |
|---|---|
| private int matchingIndex(ResolvedType a) | |
| parameterizeWith | back to summary |
|---|---|
| public Declare parameterizeWith(Map<K, V> typeVariableBindingMap, World w) Implements abstract org. Doc from org. Returns a version of this declare element in which all references to type variables are replaced with their bindings given in the map. | |
| read | back to summary |
|---|---|
| public static Declare read(VersionedDataInputStream s, ISourceContext context) throws IOException | |
| resolve | back to summary |
|---|---|
| public void resolve(IScope scope) Implements abstract org. Doc from org. Returns this declare mutated | |
| setScopeForResolution | back to summary |
|---|---|
| public void setScopeForResolution(IScope scope) | |
| 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) | |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException Implements abstract org. | |