Package net.bytebuddy.dynamic.scaffold
Class MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.Token
- java.lang.Object
-
- net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.Token
-
- Enclosing class:
- MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod
protected static class MethodGraph.Compiler.Default.Harmonizer.ForJVMMethod.Token extends java.lang.ObjectA token that identifies a Java method's type by its parameter types and return type.
-
-
Field Summary
Fields Modifier and Type Field Description private inthashCodeThe hash code of this token which is precomputed for to improve performance.private MethodDescription.TypeTokentypeTokenThe represented type token.
-
Constructor Summary
Constructors Constructor Description Token(MethodDescription.TypeToken typeToken)Creates a new type token for a JVM method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
typeToken
private final MethodDescription.TypeToken typeToken
The represented type token.
-
hashCode
private final int hashCode
The hash code of this token which is precomputed for to improve performance.
-
-
Constructor Detail
-
Token
public Token(MethodDescription.TypeToken typeToken)
Creates a new type token for a JVM method.- Parameters:
typeToken- The represented type token.
-
-