Class ArrayVariableInitializer
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<E>
-
- org.jd.core.v1.util.DefaultList<VariableInitializer>
-
- org.jd.core.v1.model.javasyntax.declaration.ArrayVariableInitializer
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<VariableInitializer>
,java.util.Collection<VariableInitializer>
,java.util.List<VariableInitializer>
,java.util.RandomAccess
,Declaration
,VariableInitializer
public class ArrayVariableInitializer extends DefaultList<VariableInitializer> implements VariableInitializer
- 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 Type
type
-
Fields inherited from class org.jd.core.v1.util.DefaultList
EMPTY_LIST
-
Fields inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_BRIDGE, FLAG_DEFAULT, FLAG_ENUM, FLAG_FINAL, FLAG_INTERFACE, FLAG_MANDATED, FLAG_MODULE, FLAG_NATIVE, FLAG_OPEN, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STATIC_PHASE, FLAG_STRICT, FLAG_SUPER, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_TRANSITIVE, FLAG_VARARGS, FLAG_VOLATILE
-
-
Constructor Summary
Constructors Constructor Description ArrayVariableInitializer(Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(DeclarationVisitor visitor)
int
getLineNumber()
Type
getType()
-
Methods inherited from class org.jd.core.v1.util.DefaultList
emptyList, getFirst, getLast, isList, removeFirst, removeLast
-
Methods inherited from class java.util.ArrayList
add, 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
-
-
-
-
Field Detail
-
type
protected Type type
-
-
Constructor Detail
-
ArrayVariableInitializer
public ArrayVariableInitializer(Type type)
-
-
Method Detail
-
getType
public Type getType()
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceVariableInitializer
-
accept
public void accept(DeclarationVisitor visitor)
- Specified by:
accept
in interfaceDeclaration
-
-