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 Annotatable
public List<Annotation> getAnnotations()
getAnnotations
in interface Annotatable
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.