Package net.bytebuddy.dynamic.scaffold
Interface MethodGraph.Compiler.Default.Harmonizer<S>
- Type Parameters:
S
- The type of the token that is created by the implementing harmonizer.
- All Known Implementing Classes:
MethodGraph.Compiler.Default.Harmonizer.ForJavaMethod
,MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod
- Enclosing class:
MethodGraph.Compiler.Default<T>
public static interface MethodGraph.Compiler.Default.Harmonizer<S>
A harmonizer is responsible for creating a token that identifies a method's relevant attributes for considering
two methods of being equal or not.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
A harmonizer for the Java programming language that identifies a method by its parameter types only.static enum
A harmonizer for the Java virtual machine's method dispatching rules that identifies a method by its parameter types and return type. -
Method Summary
Modifier and TypeMethodDescriptionharmonize
(MethodDescription.TypeToken typeToken) Harmonizes the given type token.
-
Method Details
-
harmonize
Harmonizes the given type token.- Parameters:
typeToken
- The type token to harmonize.- Returns:
- A token representing the given type token.
-