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 Classes Modifier and Type Interface Description static classMethodGraph.Compiler.Default.Harmonizer.ForJavaMethodA harmonizer for the Java programming language that identifies a method by its parameter types only.static classMethodGraph.Compiler.Default.Harmonizer.ForJVMMethodA harmonizer for the Java virtual machine's method dispatching rules that identifies a method by its parameter types and return type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sharmonize(MethodDescription.TypeToken typeToken)Harmonizes the given type token.
-
-
-
Method Detail
-
harmonize
S harmonize(MethodDescription.TypeToken typeToken)
Harmonizes the given type token.- Parameters:
typeToken- The type token to harmonize.- Returns:
- A token representing the given type token.
-
-