public class SourceCode.Field extends SourceCode.Element<SourceCode.Field>
Modifier and Type | Field and Description |
---|---|
protected boolean |
isTransient |
protected boolean |
isVolatile |
Modifier and Type | Method and Description |
---|---|
SourceCode.Field |
addGetter() |
SourceCode.Field |
addSetter() |
boolean |
equals(Object other) |
void |
makeTransient() |
void |
makeVolatile() |
SourceCode.Field |
markAsBean()
Adds bean-style getter setter method.
|
String |
toString() |
void |
write(PrintWriter out,
int tab) |
addAnnotation, addComment, addParameter, compareTo, getType, makeFinal, makePrivate, makeProtected, makePublic, makeStatic
public SourceCode.Field markAsBean()
public SourceCode.Field addGetter()
public SourceCode.Field addSetter()
public void makeVolatile()
public void makeTransient()
public void write(PrintWriter out, int tab)
write
in class SourceCode.Element<SourceCode.Field>
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.