Package net.bytebuddy.dynamic.scaffold
Enum MethodGraph.Node.Unresolved
- java.lang.Object
-
- java.lang.Enum<MethodGraph.Node.Unresolved>
-
- net.bytebuddy.dynamic.scaffold.MethodGraph.Node.Unresolved
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MethodGraph.Node.Unresolved>
,MethodGraph.Node
- Enclosing interface:
- MethodGraph.Node
public static enum MethodGraph.Node.Unresolved extends java.lang.Enum<MethodGraph.Node.Unresolved> implements MethodGraph.Node
A canonical implementation of an unresolved node.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.MethodGraph.Node
MethodGraph.Node.Simple, MethodGraph.Node.Sort, MethodGraph.Node.Unresolved
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
Unresolved()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.static MethodGraph.Node.Unresolved
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MethodGraph.Node.Unresolved[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final MethodGraph.Node.Unresolved INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static MethodGraph.Node.Unresolved[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MethodGraph.Node.Unresolved c : MethodGraph.Node.Unresolved.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodGraph.Node.Unresolved valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getSort
public MethodGraph.Node.Sort getSort()
Returns the sort of this node.- Specified by:
getSort
in interfaceMethodGraph.Node
- Returns:
- The sort of this node.
-
getRepresentative
public MethodDescription getRepresentative()
Returns the method that is represented by this node.- Specified by:
getRepresentative
in interfaceMethodGraph.Node
- Returns:
- The method that is represented by this node.
-
getMethodTypes
public java.util.Set<MethodDescription.TypeToken> getMethodTypes()
Returns a set of type tokens that this method represents. This set contains the actual method's type including the types of all bridge methods.- Specified by:
getMethodTypes
in interfaceMethodGraph.Node
- Returns:
- A set of type tokens that this method represents.
-
getVisibility
public Visibility getVisibility()
Returns the minimal method visibility of all methods that are represented by this node.- Specified by:
getVisibility
in interfaceMethodGraph.Node
- Returns:
- The minimal method visibility of all methods that are represented by this node.
-
-