S
- The type of field descriptions represented by this list.public abstract static class FieldList.AbstractBase<S extends FieldDescription> extends FilterableList.AbstractBase<S,FieldList<S>> implements FieldList<S>
FieldList
.FieldList.AbstractBase<S extends FieldDescription>, FieldList.Empty<S extends FieldDescription>, FieldList.Explicit<S extends FieldDescription>, FieldList.ForLoadedFields, FieldList.ForTokens, FieldList.TypeSubstituting
modCount
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
FieldList<FieldDescription.InDefinedShape> |
asDefined()
Returns this list of these field descriptions resolved to their defined shape.
|
ByteCodeElement.Token.TokenList<FieldDescription.Token> |
asTokenList(ElementMatcher<? super TypeDescription> matcher)
Transforms the list of field descriptions into a list of detached tokens.
|
protected FieldList<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 ByteCodeElement.Token.TokenList<FieldDescription.Token> asTokenList(ElementMatcher<? super TypeDescription> matcher)
TargetType
.asTokenList
in interface FieldList<S extends FieldDescription>
matcher
- A matcher that indicates type substitution.public FieldList<FieldDescription.InDefinedShape> asDefined()
asDefined
in interface FieldList<S extends FieldDescription>
protected FieldList<S> wrap(List<S> values)
FilterableList.AbstractBase
wrap
in class FilterableList.AbstractBase<S extends FieldDescription,FieldList<S extends FieldDescription>>
values
- The values to wrap in an instance of this list's type.values
.Copyright © 2014–2024. All rights reserved.