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 class
Builder for creating aJavaMethodDeclaration
. -
Method Summary
Modifier and TypeMethodDescriptionReturn theAnnotationContainer
to use to configure the annotations of this element.
-
Method Details
-
method
-
annotations
Description copied from interface:Annotatable
Return theAnnotationContainer
to use to configure the annotations of this element.- Specified by:
annotations
in interfaceAnnotatable
- Returns:
- the annotation container
-