Class FieldList.Empty<S extends FieldDescription>
java.lang.Object
java.util.AbstractCollection<S>
java.util.AbstractList<S>
net.bytebuddy.matcher.FilterableList.Empty<S, FieldList<S>>
net.bytebuddy.description.field.FieldList.Empty<S>
- Type Parameters:
S- The type of parameter descriptions represented by this list.
- All Implemented Interfaces:
Iterable<S>, Collection<S>, List<S>, SequencedCollection<S>, FieldList<S>, FilterableList<S, FieldList<S>>
- Enclosing interface:
FieldList<T extends FieldDescription>
public static class FieldList.Empty<S extends FieldDescription>
extends FilterableList.Empty<S, FieldList<S>>
implements FieldList<S>
An implementation of an empty field list.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FieldList
FieldList.AbstractBase<S>, FieldList.Empty<S>, FieldList.Explicit<S>, FieldList.ForLoadedFields, FieldList.ForTokens, FieldList.TypeSubstitutingNested classes/interfaces inherited from interface FilterableList
FilterableList.AbstractBase<T,S>, FilterableList.Empty<T, S> -
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns this list of these field descriptions resolved to their defined shape.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of field descriptions into a list of detached tokens.Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface FilterableList
filter, getOnly, subListMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, toArray, toArray
-
Constructor Details
-
Empty
public Empty()
-
-
Method Details
-
asTokenList
public ByteCodeElement.Token.TokenList<FieldDescription.Token> asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of field descriptions into a list of detached tokens. All types that are matched by the provided target type matcher are substituted byTargetType.- Specified by:
asTokenListin interfaceFieldList<S extends FieldDescription>- Parameters:
matcher- A matcher that indicates type substitution.- Returns:
- The transformed token list.
-
asDefined
Returns this list of these field descriptions resolved to their defined shape.- Specified by:
asDefinedin interfaceFieldList<S extends FieldDescription>- Returns:
- A list of fields in their defined shape.
-