@HashCodeAndEqualsPlugin.Enhance public static class MethodGraph.Node.Simple extends java.lang.Object implements MethodGraph.Node
MethodGraph.Node.Simple, MethodGraph.Node.Sort, MethodGraph.Node.Unresolved
Modifier and Type | Field and Description |
---|---|
private MethodDescription |
methodDescription
The represented method.
|
Constructor and Description |
---|
Simple(MethodDescription methodDescription)
Creates a simple 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 MethodDescription methodDescription
public Simple(MethodDescription methodDescription)
methodDescription
- The represented method.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