Class TypeVisitor.Tokens
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<E>
-
- org.jd.core.v1.util.DefaultList<Token>
-
- org.jd.core.v1.service.fragmenter.javasyntaxtojavafragment.visitor.TypeVisitor.Tokens
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<Token>
,java.util.Collection<Token>
,java.util.List<Token>
,java.util.RandomAccess
- Enclosing class:
- TypeVisitor
public class TypeVisitor.Tokens extends DefaultList<Token>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jd.core.v1.util.DefaultList
DefaultList.EmptyList<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected int
currentLineNumber
-
Fields inherited from class org.jd.core.v1.util.DefaultList
EMPTY_LIST
-
-
Constructor Summary
Constructors Constructor Description Tokens()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(Token token)
void
addLineNumberToken(int lineNumber)
void
addLineNumberToken(Expression expression)
int
getCurrentLineNumber()
-
Methods inherited from class org.jd.core.v1.util.DefaultList
emptyList, getFirst, getLast, isList, removeFirst, removeLast
-
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
getCurrentLineNumber
public int getCurrentLineNumber()
-
add
public boolean add(Token token)
-
addLineNumberToken
public void addLineNumberToken(Expression expression)
-
addLineNumberToken
public void addLineNumberToken(int lineNumber)
-
-