public static class MethodGraph.Node.Simple extends Object implements MethodGraph.Node
MethodGraph.Node.Simple, MethodGraph.Node.Sort, MethodGraph.Node.Unresolved
Constructor and Description |
---|
Simple(MethodDescription methodDescription)
Creates a simple 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() |
public Simple(MethodDescription methodDescription)
methodDescription
- The represented method.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–2016. All rights reserved.