Class FieldDeclaration

All Implemented Interfaces:
NodeWithAccessModifiers<FieldDeclaration>, NodeWithFinalModifier<FieldDeclaration>, NodeWithPrivateModifier<FieldDeclaration>, NodeWithProtectedModifier<FieldDeclaration>, NodeWithPublicModifier<FieldDeclaration>, NodeWithStaticModifier<FieldDeclaration>, NodeWithAnnotations<FieldDeclaration>, NodeWithJavadoc<FieldDeclaration>, NodeWithModifiers<FieldDeclaration>, NodeWithRange<Node>, NodeWithTokenRange<Node>, NodeWithVariables<FieldDeclaration>, Observable, Visitable, HasParentNode<Node>, Resolvable<ResolvedFieldDeclaration>, Cloneable

The declaration of a field in a class. "private static int a=15*15;" in this example: class X { private static int a=15*15; }
All annotations preceding the type will be set on this object, not on the type. JavaParser doesn't know if it they are applicable to the method or the type.
Author:
Julio Vilmar Gesser