public static class ParameterList.Explicit.ForTypes extends ParameterList.AbstractBase<ParameterDescription.InDefinedShape>
ParameterList.AbstractBase<S extends ParameterDescription>, ParameterList.Empty<S extends ParameterDescription>, ParameterList.Explicit<S extends ParameterDescription>, ParameterList.ForLoadedExecutable<T>, ParameterList.ForTokens, ParameterList.TypeSubstituting
Modifier and Type | Field and Description |
---|---|
private MethodDescription.InDefinedShape |
methodDescription
The method description that declares the parameters.
|
private java.util.List<? extends TypeDefinition> |
typeDefinitions
A list of detached types representing the parameters.
|
Constructor and Description |
---|
ForTypes(MethodDescription.InDefinedShape methodDescription,
java.util.List<? extends TypeDefinition> typeDefinitions)
Creates a new parameter type list.
|
ForTypes(MethodDescription.InDefinedShape methodDescription,
TypeDefinition... typeDefinition)
Creates a new parameter type list.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescription.InDefinedShape |
get(int index) |
int |
size() |
asDefined, asTokenList, asTypeList, hasExplicitMetaData, wrap
filter, getOnly, subList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
private final MethodDescription.InDefinedShape methodDescription
private final java.util.List<? extends TypeDefinition> typeDefinitions
public ForTypes(MethodDescription.InDefinedShape methodDescription, TypeDefinition... typeDefinition)
methodDescription
- The method description that declares the parameters.typeDefinition
- A list of detached types representing the parameters.public ForTypes(MethodDescription.InDefinedShape methodDescription, java.util.List<? extends TypeDefinition> typeDefinitions)
methodDescription
- The method description that declares the parameters.typeDefinitions
- A list of detached types representing the parameters.public ParameterDescription.InDefinedShape get(int index)
get
in interface java.util.List<ParameterDescription.InDefinedShape>
get
in class java.util.AbstractList<ParameterDescription.InDefinedShape>
public int size()
size
in interface java.util.Collection<ParameterDescription.InDefinedShape>
size
in interface java.util.List<ParameterDescription.InDefinedShape>
size
in class java.util.AbstractCollection<ParameterDescription.InDefinedShape>