Class FieldDeclarator
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.FieldDeclarator
- All Implemented Interfaces:
Iterable<FieldDeclarator>
,BaseFieldDeclarator
,Declaration
,Base<FieldDeclarator>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected FieldDeclaration
protected String
protected VariableInitializer
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
ConstructorsConstructorDescriptionFieldDeclarator
(String name) FieldDeclarator
(String name, int dimension, VariableInitializer variableInitializer) FieldDeclarator
(String name, VariableInitializer variableInitializer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(DeclarationVisitor visitor) boolean
int
getName()
int
hashCode()
void
setFieldDeclaration
(FieldDeclaration fieldDeclaration) void
setVariableInitializer
(VariableInitializer variableInitializer) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, size
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
fieldDeclaration
-
name
-
dimension
protected int dimension -
variableInitializer
-
-
Constructor Details
-
FieldDeclarator
-
FieldDeclarator
-
FieldDeclarator
-
-
Method Details
-
setFieldDeclaration
- Specified by:
setFieldDeclaration
in interfaceBaseFieldDeclarator
-
getFieldDeclaration
-
getName
-
getDimension
public int getDimension() -
getVariableInitializer
-
setVariableInitializer
-
equals
-
hashCode
public int hashCode() -
accept
- Specified by:
accept
in interfaceDeclaration
-
toString
-