JAnnotatable
, JAssignmentTarget
, JDeclaration
, JDocCommentable
, JExpression
, JGenerable
public class JFieldVar extends JVar implements JDocCommentable
JDocComment
associated with itModifier and Type | Method | Description |
---|---|---|
void |
declare(JFormatter f) |
|
JDocComment |
javadoc() |
Creates, if necessary, and returns the class javadoc for this
JDefinedClass
|
void |
name(java.lang.String name) |
Changes the name of this variable.
|
_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
_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
annotate, annotate, annotate2, annotations, assign, assignPlus, bind, generate, init, isAnnotated, mods, name, removeAnnotation, type, type
public void name(java.lang.String name)
JVar
public JDocComment javadoc()
javadoc
in interface JDocCommentable
public void declare(JFormatter f)
declare
in interface JDeclaration
declare
in class JVar
Copyright © 2018 Oracle Corporation. All rights reserved.