public final class KotlinPropertyDeclaration extends Object implements Annotatable
| Modifier and Type | Class and Description |
|---|---|
static class |
KotlinPropertyDeclaration.AccessorBuilder<T extends KotlinPropertyDeclaration.Builder<T>> |
static class |
KotlinPropertyDeclaration.Builder<T extends KotlinPropertyDeclaration.Builder<T>>
Builder for creating a
KotlinPropertyDeclaration. |
static class |
KotlinPropertyDeclaration.ValBuilder |
static class |
KotlinPropertyDeclaration.VarBuilder |
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(Annotation annotation) |
List<Annotation> |
getAnnotations() |
List<KotlinModifier> |
getModifiers() |
static KotlinPropertyDeclaration.ValBuilder |
val(String name) |
static KotlinPropertyDeclaration.VarBuilder |
var(String name) |
public static KotlinPropertyDeclaration.ValBuilder val(String name)
public static KotlinPropertyDeclaration.VarBuilder var(String name)
public List<KotlinModifier> getModifiers()
public void annotate(Annotation annotation)
annotate in interface Annotatablepublic List<Annotation> getAnnotations()
getAnnotations in interface AnnotatableCopyright © 2022 Pivotal Software, Inc.. All rights reserved.