S
- The type of the token used for deciding on method equality.protected abstract static class MethodGraph.Compiler.Default.Key<S>
extends java.lang.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 java.lang.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(java.lang.String internalName,
int parameterCount)
Creates a new key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
protected abstract java.util.Set<S> |
getIdentifiers()
Returns a set of all identifiers of this key.
|
int |
hashCode() |
protected final java.lang.String internalName
protected final int parameterCount
protected Key(java.lang.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 java.util.Set<S> getIdentifiers()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object