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 intprotected FieldDeclarationprotected Stringprotected VariableInitializerFields 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 TypeMethodDescriptionvoidaccept(DeclarationVisitor visitor) booleanintgetName()inthashCode()voidsetFieldDeclaration(FieldDeclaration fieldDeclaration) voidsetVariableInitializer(VariableInitializer variableInitializer) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, sizeMethods 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:
setFieldDeclarationin interfaceBaseFieldDeclarator
-
getFieldDeclaration
-
getName
-
getDimension
public int getDimension() -
getVariableInitializer
-
setVariableInitializer
-
equals
-
hashCode
public int hashCode() -
accept
- Specified by:
acceptin interfaceDeclaration
-
toString
-