Interface TypeList

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  TypeList.AbstractBase
      An abstract base implementation of a type list.
      static class  TypeList.Empty
      An implementation of an empty type list.
      static class  TypeList.Explicit
      A wrapper implementation of an explicit list of types.
      static class  TypeList.ForLoadedTypes
      Implementation of a type list for an array of loaded types.
      static interface  TypeList.Generic
      A list containing descriptions of generic types.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] NO_INTERFACES
      Represents that a type list does not contain any values for ASM interoperability which is represented by null.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getStackSize()
      Returns the sum of the size of all types contained in this list.
      java.lang.String[] toInternalNames()
      Returns a list of internal names of all types represented by this list.
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArray
    • Field Detail

      • NO_INTERFACES

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

      • toInternalNames

        java.lang.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.