|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.codemodel.JExpressionImpl
com.sun.codemodel.JVar
com.sun.codemodel.JFieldVar
public class JFieldVar
A field that can have a JDocComment associated with it
| Method Summary | |
|---|---|
void |
declare(JFormatter f)
|
JDocComment |
javadoc()
Creates, if necessary, and returns the class javadoc for this JDefinedClass |
void |
name(String name)
Changes the name of this variable. |
| Methods inherited from class com.sun.codemodel.JVar |
|---|
annotate, annotate, annotate2, annotations, assign, assignPlus, bind, generate, init, isAnnotated, mods, name, type, type |
| Methods inherited from class com.sun.codemodel.JExpressionImpl |
|---|
_instanceof, band, bor, cand, complement, component, cor, decr, div, eq, gt, gte, incr, invoke, invoke, lt, lte, minus, minus, mod, mul, ne, not, plus, ref, ref, shl, shr, shrz, xor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.codemodel.JExpression |
|---|
_instanceof, band, bor, cand, complement, component, cor, decr, div, eq, gt, gte, incr, invoke, invoke, lt, lte, minus, minus, mod, mul, ne, not, plus, ref, ref, shl, shr, shrz, xor |
| Method Detail |
|---|
public void name(String name)
JVar
name in class JVarpublic JDocComment javadoc()
javadoc in interface JDocCommentablepublic void declare(JFormatter f)
declare in interface JDeclarationdeclare in class JVar
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||