Class TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken
java.lang.Object
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken
- Enclosing class:
TypePool.Default.LazyTypeDescription.MethodToken
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a parameter token for a parameter without an explicit name and without specific modifiers.protectedParameterToken(String name) Creates a parameter token for a parameter with an explicit name and without specific modifiers.protectedParameterToken(String name, Integer modifiers) Creates a parameter token for a parameter with an explicit name and with specific modifiers. -
Method Summary
-
Field Details
-
NO_NAME
Donates an unknown name of a parameter. -
NO_MODIFIERS
Donates an unknown modifier of a parameter.
-
-
Constructor Details
-
ParameterToken
protected ParameterToken()Creates a parameter token for a parameter without an explicit name and without specific modifiers. -
ParameterToken
Creates a parameter token for a parameter with an explicit name and without specific modifiers.- Parameters:
name- The name of the parameter.
-
ParameterToken
Creates a parameter token for a parameter with an explicit name and with specific modifiers.- Parameters:
name- The name of the parameter.modifiers- The modifiers of the parameter.
-
-
Method Details
-
getName
Returns the name of the parameter ornullif there is no such name.- Returns:
- The name of the parameter or
nullif there is no such name.
-
getModifiers
Returns the modifiers of the parameter ornullif no modifiers are known.- Returns:
- The modifiers of the parameter or
nullif no modifiers are known.
-