public static enum MethodGraph.Empty extends Enum<MethodGraph.Empty> implements MethodGraph.Linked, MethodGraph.Compiler
MethodGraph.Linked.Delegation
MethodGraph.Compiler, MethodGraph.Empty, MethodGraph.Linked, MethodGraph.Node, MethodGraph.NodeList, MethodGraph.Simple
MethodGraph.Compiler.AbstractBase, MethodGraph.Compiler.Default<T>, MethodGraph.Compiler.ForDeclaredMethods
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
DEFAULT
Modifier and Type | Method and Description |
---|---|
MethodGraph.Linked |
compile(TypeDefinition typeDefinition)
Compiles the given type into a method graph considering the type to be the viewpoint.
|
MethodGraph.Linked |
compile(TypeDefinition typeDefinition,
TypeDescription viewPoint)
Compiles the given type into a method graph.
|
MethodGraph.Linked |
compile(TypeDescription typeDescription)
Deprecated.
|
MethodGraph.Linked |
compile(TypeDescription typeDefinition,
TypeDescription viewPoint)
Deprecated.
|
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.
|
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)
locate
in interface MethodGraph
token
- A method token that represents the method to be located.public MethodGraph.NodeList listNodes()
listNodes
in interface MethodGraph
public MethodGraph getSuperClassGraph()
getSuperClassGraph
in interface MethodGraph.Linked
public MethodGraph getInterfaceGraph(TypeDescription typeDescription)
getInterfaceGraph
in interface MethodGraph.Linked
typeDescription
- The interface type for which a view is to be returned.public MethodGraph.Linked compile(TypeDefinition typeDefinition)
compile
in interface MethodGraph.Compiler
typeDefinition
- The type to be compiled.@Deprecated public MethodGraph.Linked compile(TypeDescription typeDescription)
compile
in interface MethodGraph.Compiler
typeDescription
- The type to be compiled.public MethodGraph.Linked compile(TypeDefinition typeDefinition, TypeDescription viewPoint)
compile
in interface MethodGraph.Compiler
typeDefinition
- The type to be compiled.viewPoint
- The view point that determines the method's visibility.@Deprecated public MethodGraph.Linked compile(TypeDescription typeDefinition, TypeDescription viewPoint)
compile
in interface MethodGraph.Compiler
typeDefinition
- The type to be compiled.viewPoint
- The view point that determines the method's visibility.Copyright © 2014–2024. All rights reserved.