public static enum MethodGraph.Compiler.ForDeclaredMethods extends Enum<MethodGraph.Compiler.ForDeclaredMethods> implements MethodGraph.Compiler
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,
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.
|
String |
toString() |
static MethodGraph.Compiler.ForDeclaredMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodGraph.Compiler.ForDeclaredMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodGraph.Compiler.ForDeclaredMethods INSTANCE
public static MethodGraph.Compiler.ForDeclaredMethods[] values()
for (MethodGraph.Compiler.ForDeclaredMethods c : MethodGraph.Compiler.ForDeclaredMethods.values()) System.out.println(c);
public static MethodGraph.Compiler.ForDeclaredMethods 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.Linked compile(TypeDescription typeDescription)
MethodGraph.Compiler
compile
in interface MethodGraph.Compiler
typeDescription
- The type to be compiled.public MethodGraph.Linked compile(TypeDefinition typeDefinition, TypeDescription viewPoint)
MethodGraph.Compiler
compile
in interface MethodGraph.Compiler
typeDefinition
- The type to be compiled.viewPoint
- The view point that determines the method's visibility.public String toString()
toString
in class Enum<MethodGraph.Compiler.ForDeclaredMethods>
Copyright © 2014–2017. All rights reserved.