public class DeclarePrecedence extends Declare
ANNOTATION, DOMINATES, ERROR_OR_WARNING, PARENTS, PARENTSMIXIN, SOFT, TYPE_ERROR_OR_WARNING
end, sourceContext, start
Constructor and Description |
---|
DeclarePrecedence(java.util.List patterns) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(PatternNodeVisitor visitor,
java.lang.Object data) |
int |
compare(ResolvedType aspect1,
ResolvedType aspect2) |
void |
ensureResolved() |
boolean |
equals(java.lang.Object other) |
java.lang.String |
getNameSuffix()
Declares have methods in the .class file against which info can be stored (for example, the annotation in the case of declare
annotation).
|
TypePatternList |
getPatterns() |
int |
hashCode() |
boolean |
isAdviceLike()
Indicates if this declare should be treated like advice.
|
Declare |
parameterizeWith(java.util.Map typeVariableBindingMap,
World w)
Returns a version of this declare element in which all references to type variables are replaced with their bindings given in
the map.
|
static Declare |
read(VersionedDataInputStream s,
ISourceContext context) |
void |
resolve(IScope scope)
Returns this declare mutated
|
void |
setScopeForResolution(IScope scope) |
java.lang.String |
toString() |
void |
write(CompressingDataOutputStream s) |
getDeclaringType, setDeclaringType
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
public java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
accept
in class PatternNode
public Declare parameterizeWith(java.util.Map typeVariableBindingMap, World w)
Declare
parameterizeWith
in class Declare
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void write(CompressingDataOutputStream s) throws java.io.IOException
write
in class PatternNode
java.io.IOException
public static Declare read(VersionedDataInputStream s, ISourceContext context) throws java.io.IOException
java.io.IOException
public void setScopeForResolution(IScope scope)
public void ensureResolved()
public void resolve(IScope scope)
Declare
public TypePatternList getPatterns()
public int compare(ResolvedType aspect1, ResolvedType aspect2)
public boolean isAdviceLike()
Declare
isAdviceLike
in class Declare
public java.lang.String getNameSuffix()
Declare
getNameSuffix
in class Declare