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.
-
Method Details
-
method
-
annotations
Description copied from interface:AnnotatableReturn theAnnotationContainerto use to configure the annotations of this element.- Specified by:
annotationsin interfaceAnnotatable- Returns:
- the annotation container
-