Class GroovyMethodDeclaration
java.lang.Object
io.spring.initializr.generator.language.groovy.GroovyMethodDeclaration
- All Implemented Interfaces:
Annotatable
Declaration of a method written in Groovy.
- Author:
- Stephane Nicoll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for creating aGroovyMethodDeclaration. -
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
-