Class JavaMethodDeclaration
java.lang.Object
io.spring.initializr.generator.language.java.JavaMethodDeclaration
- All Implemented Interfaces:
Annotatable
Declaration of a method written in Java.
- Author:
- Andy Wilkinson
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for creating aJavaMethodDeclaration. -
Method Summary
Modifier and TypeMethodDescriptionReturn theAnnotationContainerto use to configure the annotations of this element.Deprecated, for removal: This API element is subject to removal in a future version.Methods 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
-
method
-
getStatements
Deprecated, for removal: This API element is subject to removal in a future version. -
annotations
Description copied from interface:AnnotatableReturn theAnnotationContainerto use to configure the annotations of this element.- Specified by:
annotationsin interfaceAnnotatable- Returns:
- the annotation container
-