Class TypeList.Empty

All Implemented Interfaces:
Iterable<TypeDescription>, Collection<TypeDescription>, List<TypeDescription>, TypeList, FilterableList<TypeDescription,TypeList>
Enclosing interface:
TypeList

public static class TypeList.Empty extends FilterableList.Empty<TypeDescription,TypeList> implements TypeList
An implementation of an empty type list.
  • Constructor Details

    • Empty

      public Empty()
  • Method Details

    • toInternalNames

      public String[] toInternalNames()
      Returns a list of internal names of all types represented by this list.
      Specified by:
      toInternalNames in interface TypeList
      Returns:
      An array of all internal names or null if the list is empty.
    • getStackSize

      public int getStackSize()
      Returns the sum of the size of all types contained in this list.
      Specified by:
      getStackSize in interface TypeList
      Returns:
      The sum of the size of all types contained in this list.