protected static class TypePool.Default.ParameterBag
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.Integer,java.lang.String> |
parameterRegistry
A map containing the tokens that were collected until now.
|
private org.objectweb.asm.Type[] |
parameterType
An array of the method's parameter types.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ParameterBag(org.objectweb.asm.Type[] parameterType)
Creates a new bag.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
register(int offset,
java.lang.String name)
Registers a new parameter.
|
protected java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> |
resolve(boolean isStatic)
Resolves the collected parameters as a list of parameter tokens.
|
private final org.objectweb.asm.Type[] parameterType
private final java.util.Map<java.lang.Integer,java.lang.String> parameterRegistry
protected ParameterBag(org.objectweb.asm.Type[] parameterType)
parameterType - An array of parameter types for the method on which this parameter bag
is used.protected void register(int offset,
java.lang.String name)
offset - The offset of the registered entry on the local variable array of the method.name - The name of the parameter.protected java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> resolve(boolean isStatic)
isStatic - true if the analyzed method is static.