public final class GroovyFieldDeclaration extends Object implements Annotatable
Modifier and Type | Class and Description |
---|---|
static class |
GroovyFieldDeclaration.Builder |
Modifier and Type | Method and Description |
---|---|
void |
annotate(Annotation annotation) |
static GroovyFieldDeclaration.Builder |
field(String name) |
List<Annotation> |
getAnnotations() |
int |
getModifiers() |
String |
getName() |
String |
getReturnType() |
Object |
getValue() |
boolean |
isInitialized() |
public static GroovyFieldDeclaration.Builder field(String name)
public void annotate(Annotation annotation)
annotate
in interface Annotatable
public List<Annotation> getAnnotations()
getAnnotations
in interface Annotatable
public int getModifiers()
public String getName()
public String getReturnType()
public Object getValue()
public boolean isInitialized()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.