public static final class MethodIdHolder.MethodIdAllocator extends Object
Modifier and Type | Field and Description |
---|---|
private Map<MethodIdHolder,Integer> |
idVerifierMap |
private static MethodIdHolder.MethodIdAllocator |
instance
Singleton instance.
|
private int |
nextId |
Modifier | Constructor and Description |
---|---|
private |
MethodIdAllocator() |
Modifier and Type | Method and Description |
---|---|
int |
assignId(MethodIdHolder holder)
Ensures a given method has a unique identifier.
|
private int nextId
private final Map<MethodIdHolder,Integer> idVerifierMap
private static final MethodIdHolder.MethodIdAllocator instance
private MethodIdAllocator()
public int assignId(MethodIdHolder holder)