public static class ParameterList.Explicit extends ParameterList.AbstractBase
ParameterList.AbstractBase, ParameterList.Empty, ParameterList.Explicit, ParameterList.ForLoadedExecutablemodCount| Constructor and Description |
|---|
Explicit(List<? extends ParameterDescription> parameterDescriptions)
Creates a new list of explicit parameter descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
TypeList |
asTypeList()
Transforms the list of parameters into a list of type descriptions.
|
ParameterDescription |
get(int index) |
static ParameterList |
latent(MethodDescription declaringMethod,
List<? extends TypeDescription> parameterTypes)
Creates a list of method parameters from a list of type descriptions.
|
int |
size() |
protected ParameterList |
wrap(List<ParameterDescription> values)
Represents a list of values as an instance of this instance's list type.
|
hasExplicitMetaDatafilter, getOnly, subListadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfilter, getOnly, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic Explicit(List<? extends ParameterDescription> parameterDescriptions)
parameterDescriptions - The list of parameter descriptions that are represented by this list.public static ParameterList latent(MethodDescription declaringMethod, List<? extends TypeDescription> parameterTypes)
declaringMethod - The method for which this latent list should be created.parameterTypes - A list of the parameter types.public ParameterDescription get(int index)
get in interface List<ParameterDescription>get in class AbstractList<ParameterDescription>public int size()
size in interface Collection<ParameterDescription>size in interface List<ParameterDescription>size in class AbstractCollection<ParameterDescription>public TypeList asTypeList()
ParameterListprotected ParameterList wrap(List<ParameterDescription> values)
FilterableList.AbstractBasewrap in class FilterableList.AbstractBase<ParameterDescription,ParameterList>values - The values to wrap in an instance of this list's type.values.Copyright © 2014–2015. All rights reserved.