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