Package net.bytebuddy.description.method
Class ParameterDescription.Token.TypeList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<ParameterDescription.Token>
net.bytebuddy.description.method.ParameterDescription.Token.TypeList
- All Implemented Interfaces:
Iterable<ParameterDescription.Token>
,Collection<ParameterDescription.Token>
,List<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, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, 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:
get
in interfaceList<ParameterDescription.Token>
- Specified by:
get
in classAbstractList<ParameterDescription.Token>
-
size
public int size()- Specified by:
size
in interfaceCollection<ParameterDescription.Token>
- Specified by:
size
in interfaceList<ParameterDescription.Token>
- Specified by:
size
in classAbstractCollection<ParameterDescription.Token>
-