public final class GroovyMethodDeclaration extends Object implements Annotatable
| Modifier and Type | Class and Description |
|---|---|
static class |
GroovyMethodDeclaration.Builder
Builder for creating a
GroovyMethodDeclaration. |
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(Annotation annotation) |
List<Annotation> |
getAnnotations() |
List<GroovyStatement> |
getStatements() |
static GroovyMethodDeclaration.Builder |
method(String name) |
public static GroovyMethodDeclaration.Builder method(String name)
public List<GroovyStatement> getStatements()
public void annotate(Annotation annotation)
annotate in interface Annotatablepublic List<Annotation> getAnnotations()
getAnnotations in interface AnnotatableCopyright © 2022 Pivotal Software, Inc.. All rights reserved.