protected static class MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.Node extends Object implements MethodGraph.Node
MethodGraph.Node.Simple, MethodGraph.Node.Sort, MethodGraph.Node.Unresolved
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 |
---|---|
boolean |
equals(Object other) |
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.
|
int |
hashCode() |
String |
toString() |
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()
MethodGraph.Node
getSort
in interface MethodGraph.Node
public MethodDescription getRepresentative()
MethodGraph.Node
getRepresentative
in interface MethodGraph.Node
public Set<MethodDescription.TypeToken> getMethodTypes()
MethodGraph.Node
getMethodTypes
in interface MethodGraph.Node
public Visibility getVisibility()
MethodGraph.Node
getVisibility
in interface MethodGraph.Node
Copyright © 2014–2017. All rights reserved.