Class ByteCodeElement.Token.TokenList<S extends ByteCodeElement.Token<S>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<? extends S> tokens
      The tokens that this list represents.
      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenList​(java.util.List<? extends S> tokens)
      Creates a list of tokens.
      TokenList​(S... token)
      Creates a list of tokens.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ByteCodeElement.Token.TokenList<S> accept​(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
      Transforms all tokens that are represented by this list.
      S get​(int index)
      int size()
      protected ByteCodeElement.Token.TokenList<S> wrap​(java.util.List<S> values)
      Represents a list of values as an instance of this instance's list type.
      • Methods inherited from class java.util.AbstractList

        add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
      • 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.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

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