S
- The type of parameter descriptions represented by this list.public abstract static class ParameterList.AbstractBase<S extends ParameterDescription> extends FilterableList.AbstractBase<S,ParameterList<S>> implements ParameterList<S>
ParameterList
.ParameterList.AbstractBase<S extends ParameterDescription>, ParameterList.Empty<S extends ParameterDescription>, ParameterList.Explicit<S extends ParameterDescription>, ParameterList.ForLoadedExecutable<T>, ParameterList.ForTokens, ParameterList.TypeSubstituting
modCount
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
asDefined()
Returns this list of these parameter descriptions resolved to their defined shape.
|
ByteCodeElement.Token.TokenList<ParameterDescription.Token> |
asTokenList(ElementMatcher<? super TypeDescription> matcher)
Transforms the list of parameter descriptions into a list of detached tokens.
|
TypeList.Generic |
asTypeList()
Transforms this list of parameters into a list of the types of the represented parameters.
|
boolean |
hasExplicitMetaData()
Checks if all parameters in this list define both an explicit name and an explicit modifier.
|
protected ParameterList<S> |
wrap(List<S> values)
Represents a list of values as an instance of this instance's list type.
|
filter, getOnly, subList
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public boolean hasExplicitMetaData()
hasExplicitMetaData
in interface ParameterList<S extends ParameterDescription>
true
if all parameters in this list define both an explicit name and an explicit modifier.public ByteCodeElement.Token.TokenList<ParameterDescription.Token> asTokenList(ElementMatcher<? super TypeDescription> matcher)
TargetType
.asTokenList
in interface ParameterList<S extends ParameterDescription>
matcher
- A matcher that indicates type substitution.public TypeList.Generic asTypeList()
asTypeList
in interface ParameterList<S extends ParameterDescription>
public ParameterList<ParameterDescription.InDefinedShape> asDefined()
asDefined
in interface ParameterList<S extends ParameterDescription>
protected ParameterList<S> wrap(List<S> values)
FilterableList.AbstractBase
wrap
in class FilterableList.AbstractBase<S extends ParameterDescription,ParameterList<S extends ParameterDescription>>
values
- The values to wrap in an instance of this list's type.values
.Copyright © 2014–2022. All rights reserved.