protected static class TypePool.Default.ParameterBag extends Object
Modifier | Constructor and Description |
---|---|
protected |
ParameterBag(Type[] parameterType)
Creates a new bag.
|
Modifier and Type | Method and Description |
---|---|
protected void |
register(int offset,
String name)
Registers a new parameter.
|
protected List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> |
resolve(boolean isStatic)
Resolves the collected parameters as a list of parameter tokens.
|
protected ParameterBag(Type[] parameterType)
parameterType
- An array of parameter types for the method on which this parameter bag
is used.protected void register(int offset, String name)
offset
- The offset of the registered entry on the local variable array of the method.name
- The name of the parameter.protected List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> resolve(boolean isStatic)
isStatic
- true
if the analyzed method is static.Copyright © 2014–2018. All rights reserved.