public class JFieldBuilder extends Object implements IAnnotatable
| Constructor and Description |
|---|
JFieldBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(JAnnotation annotation) |
Iterable<JAnnotation> |
annotations() |
JField |
build() |
void |
name(String name) |
void |
type(JType type) |
void |
value(JValue value) |
public Iterable<JAnnotation> annotations()
public void add(JAnnotation annotation)
add in interface IAnnotatablepublic JField build()
public void value(JValue value)
public void name(String name)
public void type(JType type)
Copyright © 2007–2017 Andreas W. Bartels. All rights reserved.