Class JavaFieldDeclaration
java.lang.Object
io.spring.initializr.generator.language.java.JavaFieldDeclaration
- All Implemented Interfaces:
Annotatable
Declaration of a field written in Java.
- Author:
- Matt Berteaux
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn theAnnotationContainer
to use to configure the annotations of this element.static JavaFieldDeclaration.Builder
int
getName()
getValue()
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.spring.initializr.generator.language.Annotatable
annotate, getAnnotations
-
Method Details
-
field
-
annotations
Description copied from interface:Annotatable
Return theAnnotationContainer
to use to configure the annotations of this element.- Specified by:
annotations
in interfaceAnnotatable
- Returns:
- the annotation container
-
getModifiers
public int getModifiers() -
getName
-
getReturnType
-
getValue
-
isInitialized
public boolean isInitialized()
-