Package com.sun.codemodel
Class JFieldVar
java.lang.Object
com.sun.codemodel.JExpressionImpl
com.sun.codemodel.JVar
com.sun.codemodel.JFieldVar
- All Implemented Interfaces:
JAnnotatable,JAssignmentTarget,JDeclaration,JDocCommentable,JExpression,JGenerable
A field that can have a
JDocComment associated with it-
Method Summary
Modifier and TypeMethodDescriptionvoidjavadoc()Creates, if necessary, and returns the class javadoc for this JDefinedClassvoidChanges 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, removeAnnotation, type, typeMethods 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
-
Method Details
-
name
Description copied from class:JVarChanges the name of this variable. -
javadoc
Creates, if necessary, and returns the class javadoc for this JDefinedClass- Specified by:
javadocin interfaceJDocCommentable- Returns:
- JDocComment containing javadocs for this class
-
declare
- Specified by:
declarein interfaceJDeclaration- Overrides:
declarein classJVar
-