public static enum MethodGraph.Node.Sort extends java.lang.Enum<MethodGraph.Node.Sort>
MethodGraph.Node
's state.Enum Constant and Description |
---|
AMBIGUOUS
Represents an ambiguous node, i.e.
|
RESOLVED
Represents a resolved node that was not made visible by a visibility bridge.
|
UNRESOLVED
Represents an unresolved node.
|
VISIBLE
Represents a resolved node that was made visible by a visibility bridge.
|
Modifier and Type | Field and Description |
---|---|
private boolean |
madeVisible
true if this sort represents a node that was made by a visibility bridge. |
private boolean |
resolved
true if this sort represents a resolved node. |
private boolean |
unique
true if this sort represents a non-ambiguous node. |
Modifier and Type | Method and Description |
---|---|
boolean |
isMadeVisible()
Verifies if this sort represents a node that was made visible by a visibility bridge.
|
boolean |
isResolved()
Verifies if this sort represents a resolved node.
|
boolean |
isUnique()
Verifies if this sort represents a non-ambiguous node.
|
static MethodGraph.Node.Sort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MethodGraph.Node.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodGraph.Node.Sort VISIBLE
public static final MethodGraph.Node.Sort RESOLVED
public static final MethodGraph.Node.Sort AMBIGUOUS
public static final MethodGraph.Node.Sort UNRESOLVED
private final boolean resolved
true
if this sort represents a resolved node.private final boolean unique
true
if this sort represents a non-ambiguous node.private final boolean madeVisible
true
if this sort represents a node that was made by a visibility bridge.public static MethodGraph.Node.Sort[] values()
for (MethodGraph.Node.Sort c : MethodGraph.Node.Sort.values()) System.out.println(c);
public static MethodGraph.Node.Sort valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isResolved()
true
if this sort represents a resolved node.public boolean isUnique()
true
if this sort represents a non-ambiguous node.public boolean isMadeVisible()
true
if this sort represents a node that was made visible by a visibility bridge.