Class JavaFieldDeclaration.Builder
java.lang.Object
io.spring.initializr.generator.language.java.JavaFieldDeclaration.Builder
- Enclosing class:
JavaFieldDeclaration
Builder for creating a
JavaFieldDeclaration.- Author:
- Matt Berteaux
-
Method Summary
Modifier and TypeMethodDescriptionmodifiers(int modifiers) Sets the modifiers.Sets the return type.Sets the value.
-
Method Details
-
modifiers
Sets the modifiers.- Parameters:
modifiers- the modifiers- Returns:
- this for method chaining
-
value
Sets the value.- Parameters:
value- the value- Returns:
- this for method chaining
-
returning
Sets the return type.- Parameters:
returnType- the return type- Returns:
- this for method chaining
-