public static enum MethodGraph.Empty extends Enum<MethodGraph.Empty> implements MethodGraph.Linked, MethodGraph.Compiler
MethodGraph.Linked.DelegationMethodGraph.Compiler, MethodGraph.Empty, MethodGraph.Linked, MethodGraph.Node, MethodGraph.NodeList, MethodGraph.SimpleMethodGraph.Compiler.AbstractBase, MethodGraph.Compiler.Default<T>| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
DEFAULT| Modifier and Type | Method and Description |
|---|---|
MethodGraph.Linked |
compile(TypeDefinition typeDefinition,
TypeDescription viewPoint)
Compiles the given type into a method graph.
|
MethodGraph.Linked |
compile(TypeDescription typeDescription)
Compiles the given type into a method graph considering the type to be the viewpoint.
|
MethodGraph |
getInterfaceGraph(TypeDescription typeDescription)
Returns a graph representing the view on this represented type's directly implemented interface type.
|
MethodGraph |
getSuperClassGraph()
Returns a graph representing the view on this represented type's super type.
|
MethodGraph.NodeList |
listNodes()
Lists all nodes of this method graph.
|
MethodGraph.Node |
locate(MethodDescription.SignatureToken token)
Locates a node in this graph which represents the provided method token.
|
String |
toString() |
static MethodGraph.Empty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodGraph.Empty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodGraph.Empty INSTANCE
public static MethodGraph.Empty[] values()
for (MethodGraph.Empty c : MethodGraph.Empty.values()) System.out.println(c);
public static MethodGraph.Empty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MethodGraph.Node locate(MethodDescription.SignatureToken token)
MethodGraphlocate in interface MethodGraphtoken - A method token that represents the method to be located.public MethodGraph.NodeList listNodes()
MethodGraphlistNodes in interface MethodGraphpublic MethodGraph getSuperClassGraph()
MethodGraph.LinkedgetSuperClassGraph in interface MethodGraph.Linkedpublic MethodGraph getInterfaceGraph(TypeDescription typeDescription)
MethodGraph.LinkedgetInterfaceGraph in interface MethodGraph.LinkedtypeDescription - The interface type for which a view is to be returned.public MethodGraph.Linked compile(TypeDescription typeDescription)
MethodGraph.Compilercompile in interface MethodGraph.CompilertypeDescription - The type to be compiled.public MethodGraph.Linked compile(TypeDefinition typeDefinition, TypeDescription viewPoint)
MethodGraph.Compilercompile in interface MethodGraph.CompilertypeDefinition - The type to be compiled.viewPoint - The view point that determines the method's visibility.public String toString()
toString in class Enum<MethodGraph.Empty>Copyright © 2014–2016. All rights reserved.