Interface TypeList

All Superinterfaces:
Collection<TypeDescription>, FilterableList<TypeDescription,TypeList>, Iterable<TypeDescription>, List<TypeDescription>
All Known Implementing Classes:
TypeList.AbstractBase, TypeList.Empty, TypeList.Explicit, TypeList.ForLoadedTypes, TypePool.Default.LazyTypeDescription.LazyNestMemberList, TypePool.Default.LazyTypeDescription.LazyTypeList

public interface TypeList extends FilterableList<TypeDescription,TypeList>
Implementations represent a list of type descriptions.
  • Field Details

    • UNDEFINED

      @AlwaysNull static final TypeList UNDEFINED
      An null type list.
    • NO_INTERFACES

      @AlwaysNull static final String[] NO_INTERFACES
      Represents that a type list does not contain any values for ASM interoperability which is represented by null.
  • Method Details

    • toInternalNames

      @MaybeNull String[] toInternalNames()
      Returns a list of internal names of all types represented by this list.
      Returns:
      An array of all internal names or null if 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.