protected static class ParameterList.ForLoadedExecutable.OfLegacyVmConstructor extends ParameterList.AbstractBase
java.lang.reflect.Parameter
type is not available.ParameterList.AbstractBase, ParameterList.Empty, ParameterList.Explicit, ParameterList.ForLoadedExecutable
modCount
Constructor and Description |
---|
OfLegacyVmConstructor(Constructor<?> constructor)
Creates a legacy representation of a constructor's parameters.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
asTypeList()
Transforms the list of parameters into a list of type descriptions.
|
ParameterDescription |
get(int index) |
int |
size() |
protected ParameterList |
wrap(List<ParameterDescription> values)
Represents a list of values as an instance of this instance's list type.
|
hasExplicitMetaData
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
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public OfLegacyVmConstructor(Constructor<?> constructor)
constructor
- The constructor to represent.protected ParameterList wrap(List<ParameterDescription> values)
FilterableList.AbstractBase
wrap
in class FilterableList.AbstractBase<ParameterDescription,ParameterList>
values
- The values to wrap in an instance of this list's type.values
.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()
ParameterList
Copyright © 2014–2015. All rights reserved.