Package net.bytebuddy.description.type
Interface TypeList
- All Superinterfaces:
Collection<TypeDescription>,FilterableList<TypeDescription,,TypeList> Iterable<TypeDescription>,List<TypeDescription>,SequencedCollection<TypeDescription>
- All Known Implementing Classes:
TypeList.AbstractBase,TypeList.Empty,TypeList.Explicit,TypeList.ForLoadedTypes,TypePool.Default.LazyTypeDescription.LazyNestMemberList,TypePool.Default.LazyTypeDescription.LazyTypeList
Implementations represent a list of type descriptions.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn abstract base implementation of a type list.static classAn implementation of an empty type list.static classA wrapper implementation of an explicit list of types.static classImplementation of a type list for an array of loaded types.static interfaceA list containing descriptions of generic types. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintReturns the sum of the size of all types contained in this list.String[]Returns a list of internal names of all types represented by this list.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface net.bytebuddy.matcher.FilterableList
filter, getOnly, subListMethods inherited from interface java.util.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
-
Field Details
-
UNDEFINED
Annulltype list. -
NO_INTERFACES
Represents that a type list does not contain any values for ASM interoperability which is represented bynull.
-
-
Method Details
-
toInternalNames
Returns a list of internal names of all types represented by this list.- Returns:
- An array of all internal names or
nullif the list is empty.
-
getStackSize
int getStackSize()Returns the sum of the size of all types contained in this list.- Returns:
- The sum of the size of all types contained in this list.
-