@HashCodeAndEqualsPlugin.Enhance protected static class MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.Node extends java.lang.Object implements MethodGraph.Node
MethodGraph.Node.Simple, MethodGraph.Node.Sort, MethodGraph.Node.Unresolved
Modifier and Type | Field and Description |
---|---|
private MethodGraph.Compiler.Default.Key.Detached |
key
The detached key representing this node.
|
private MethodDescription |
methodDescription
The representative method of this node.
|
private Visibility |
visibility
The node's minimal visibility.
|
private boolean |
visible
true if the represented method was made explicitly visible by a visibility bridge. |
Modifier | Constructor and Description |
---|---|
protected |
Node(MethodGraph.Compiler.Default.Key.Detached key,
MethodDescription methodDescription,
Visibility visibility,
boolean visible)
Creates a new node.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<MethodDescription.TypeToken> |
getMethodTypes()
Returns a set of type tokens that this method represents.
|
MethodDescription |
getRepresentative()
Returns the method that is represented by this node.
|
MethodGraph.Node.Sort |
getSort()
Returns the sort of this node.
|
Visibility |
getVisibility()
Returns the minimal method visibility of all methods that are represented by this node.
|
private final MethodGraph.Compiler.Default.Key.Detached key
private final MethodDescription methodDescription
private final Visibility visibility
private final boolean visible
true
if the represented method was made explicitly visible by a visibility bridge.protected Node(MethodGraph.Compiler.Default.Key.Detached key, MethodDescription methodDescription, Visibility visibility, boolean visible)
key
- The detached key representing this node.methodDescription
- The representative method of this node.visibility
- The node's minimal visibility.visible
- true
if the represented method was made explicitly visible by a visibility bridge.public MethodGraph.Node.Sort getSort()
getSort
in interface MethodGraph.Node
public MethodDescription getRepresentative()
getRepresentative
in interface MethodGraph.Node
public java.util.Set<MethodDescription.TypeToken> getMethodTypes()
getMethodTypes
in interface MethodGraph.Node
public Visibility getVisibility()
getVisibility
in interface MethodGraph.Node