S
- The type of the token used for deciding on method equality.protected abstract static class MethodGraph.Compiler.Default.Key<S> extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
MethodGraph.Compiler.Default.Key.Detached
A detached version of a key that identifies methods by their JVM signature, i.e.
|
protected static class |
MethodGraph.Compiler.Default.Key.Harmonized<V>
A harmonized key represents a key where equality is decided based on tokens that are returned by a
MethodGraph.Compiler.Default.Harmonizer . |
protected static class |
MethodGraph.Compiler.Default.Key.Store<V>
A store for collected methods that are identified by keys.
|
Modifier and Type | Field and Description |
---|---|
protected String |
internalName
The internal name of the method this key identifies.
|
protected int |
parameterCount
The number of method parameters of the method this key identifies.
|
Modifier | Constructor and Description |
---|---|
protected |
Key(String internalName,
int parameterCount)
Creates a new key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
protected abstract Set<S> |
getIdentifiers()
Returns a set of all identifiers of this key.
|
int |
hashCode() |
protected final String internalName
protected final int parameterCount
protected Key(String internalName, int parameterCount)
internalName
- The internal name of the method this key identifies.parameterCount
- The number of method parameters of the method this key identifies.protected abstract Set<S> getIdentifiers()
public boolean equals(@MaybeNull Object other)
Copyright © 2014–2022. All rights reserved.