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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturn theAnnotationContainerto use to configure the annotations of this element.static JavaFieldDeclaration.BuilderintgetName()getValue()booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.spring.initializr.generator.language.Annotatable
annotate, getAnnotations
-
Method Details
-
field
-
annotations
Description copied from interface:AnnotatableReturn theAnnotationContainerto use to configure the annotations of this element.- Specified by:
annotationsin interfaceAnnotatable- Returns:
- the annotation container
-
getModifiers
public int getModifiers() -
getName
-
getReturnType
-
getValue
-
isInitialized
public boolean isInitialized()
-