public class DeclarePrecedence extends Declare
ANNOTATION, DOMINATES, ERROR_OR_WARNING, PARENTS, PARENTSMIXIN, SOFT, TYPE_ERROR_OR_WARNINGend, 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, setDeclaringTypecopyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocationpublic java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
accept in class PatternNodepublic Declare parameterizeWith(java.util.Map typeVariableBindingMap, World w)
DeclareparameterizeWith in class Declarepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void write(CompressingDataOutputStream s) throws java.io.IOException
write in class PatternNodejava.io.IOExceptionpublic static Declare read(VersionedDataInputStream s, ISourceContext context) throws java.io.IOException
java.io.IOExceptionpublic void setScopeForResolution(IScope scope)
public void ensureResolved()
public void resolve(IScope scope)
Declarepublic TypePatternList getPatterns()
public int compare(ResolvedType aspect1, ResolvedType aspect2)
public boolean isAdviceLike()
DeclareisAdviceLike in class Declarepublic java.lang.String getNameSuffix()
DeclaregetNameSuffix in class Declare