Package net.bytebuddy.dynamic.scaffold
Class MethodGraph.Compiler.Default.Key.Detached
java.lang.Object
net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Key<MethodDescription.TypeToken>
net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Key.Detached
- Enclosing class:
MethodGraph.Compiler.Default.Key<S>
protected static class MethodGraph.Compiler.Default.Key.Detached
extends MethodGraph.Compiler.Default.Key<MethodDescription.TypeToken>
A detached version of a key that identifies methods by their JVM signature, i.e. parameter types and return type.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Key
MethodGraph.Compiler.Default.Key.Detached, MethodGraph.Compiler.Default.Key.Harmonized<V>, MethodGraph.Compiler.Default.Key.Store<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<MethodDescription.TypeToken> The type tokens represented by this key.Fields inherited from class net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Key
internalName, parameterCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDetached(String internalName, int parameterCount, Set<MethodDescription.TypeToken> identifiers) Creates a new detached key. -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<MethodDescription.TypeToken> Returns a set of all identifiers of this key.protected static MethodGraph.Compiler.Default.Key.DetachedCreates a new detached key of the given method token.Methods inherited from class net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Key
equals, hashCode
-
Field Details
-
identifiers
The type tokens represented by this key.
-
-
Constructor Details
-
Detached
protected Detached(String internalName, int parameterCount, Set<MethodDescription.TypeToken> identifiers) Creates a new detached key.- Parameters:
internalName- The internal name of the method this key identifies.parameterCount- The number of method parameters of the method this key identifies.identifiers- The type tokens represented by this key.
-
-
Method Details
-
of
protected static MethodGraph.Compiler.Default.Key.Detached of(MethodDescription.SignatureToken token) Creates a new detached key of the given method token.- Parameters:
token- The method token to represent as a key.- Returns:
- A detached key representing the given method token..
-
getIdentifiers
Description copied from class:MethodGraph.Compiler.Default.KeyReturns a set of all identifiers of this key.- Specified by:
getIdentifiersin classMethodGraph.Compiler.Default.Key<MethodDescription.TypeToken>- Returns:
- A set of all identifiers of this key.
-