Package net.bytebuddy.dynamic.scaffold
Enum Class MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod
java.lang.Object
java.lang.Enum<MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod>
net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod
- All Implemented Interfaces:
Serializable
,Comparable<MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod>
,Constable
,MethodGraph.Compiler.Default.Harmonizer<MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod.Token>
- Enclosing interface:
MethodGraph.Compiler.Default.Harmonizer<S>
public static enum MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod
extends Enum<MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod>
implements MethodGraph.Compiler.Default.Harmonizer<MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod.Token>
A harmonizer for the Java programming language that identifies a method by its parameter types only.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
A token that identifies a Java method's type by its parameter types only.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Harmonizer
MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod, MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionharmonize
(MethodDescription.TypeToken typeToken) Harmonizes the given type token.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
ForJavaMethod
private ForJavaMethod()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
harmonize
public MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod.Token harmonize(MethodDescription.TypeToken typeToken) Harmonizes the given type token.- Specified by:
harmonize
in interfaceMethodGraph.Compiler.Default.Harmonizer<MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod.Token>
- Parameters:
typeToken
- The type token to harmonize.- Returns:
- A token representing the given type token.
-