Package net.bytebuddy.description.method
Class ParameterDescription.Token.TypeList
java.lang.Object
java.util.AbstractCollection<ParameterDescription.Token>
java.util.AbstractList<ParameterDescription.Token>
net.bytebuddy.description.method.ParameterDescription.Token.TypeList
- All Implemented Interfaces:
Iterable<ParameterDescription.Token>,Collection<ParameterDescription.Token>,List<ParameterDescription.Token>,SequencedCollection<ParameterDescription.Token>
- Enclosing class:
ParameterDescription.Token
public static class ParameterDescription.Token.TypeList
extends AbstractList<ParameterDescription.Token>
A list of types represented as a list of parameter tokens.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<? extends TypeDefinition> The list of types to represent as parameter tokens.Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionTypeList(List<? extends TypeDefinition> typeDescriptions) Creates a new list of types that represent parameters. -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
typeDescriptions
The list of types to represent as parameter tokens.
-
-
Constructor Details
-
TypeList
Creates a new list of types that represent parameters.- Parameters:
typeDescriptions- The types to represent.
-
-
Method Details
-
get
- Specified by:
getin interfaceList<ParameterDescription.Token>- Specified by:
getin classAbstractList<ParameterDescription.Token>
-
size
public int size()- Specified by:
sizein interfaceCollection<ParameterDescription.Token>- Specified by:
sizein interfaceList<ParameterDescription.Token>- Specified by:
sizein classAbstractCollection<ParameterDescription.Token>
-