Uses of Class
com.sun.codemodel.JVar
-
Packages that use JVar Package Description com.sun.codemodel Library for generating Java source codecom.sun.tools.xjc.generator.bean com.sun.tools.xjc.outline Provides the outline of the generated Java source code so that additional processing (such as adding more annotations) can be done on the generated code. -
-
Uses of JVar in com.sun.codemodel
Subclasses of JVar in com.sun.codemodel Modifier and Type Class Description class
JFieldVar
A field that can have aJDocComment
associated with itMethods in com.sun.codemodel that return JVar Modifier and Type Method Description JVar
JBlock. decl(int mods, JType type, java.lang.String name, JExpression init)
Adds a local variable declaration to this blockJVar
JBlock. decl(JType type, java.lang.String name)
Adds a local variable declaration to this blockJVar
JBlock. decl(JType type, java.lang.String name, JExpression init)
Adds a local variable declaration to this blockJVar
JForLoop. init(int mods, JType type, java.lang.String var, JExpression e)
JVar
JForLoop. init(JType type, java.lang.String var, JExpression e)
JVar
JVar. init(JExpression init)
Initialize this variableJVar[]
JMethod. listParams()
Returns all the parameters in an array.JVar
JMethod. listVarParam()
Returns the variable parameterJVar
JCatchBlock. param(java.lang.String name)
JVar
JMethod. param(int mods, JType type, java.lang.String name)
Add the specified variable to the list of parameters for this method signature.JVar
JMethod. param(int mods, java.lang.Class<?> type, java.lang.String name)
JVar
JMethod. param(JType type, java.lang.String name)
JVar
JMethod. param(java.lang.Class<?> type, java.lang.String name)
JVar
JForEach. var()
Returns a reference to the loop variable.JVar
JMethod. varParam(JType type, java.lang.String name)
Add the specified variable argument to the list of parameters for this method signature.JVar
JMethod. varParam(java.lang.Class<?> type, java.lang.String name)
Methods in com.sun.codemodel that return types with arguments of type JVar Modifier and Type Method Description java.util.List<JVar>
JMethod. params()
Returns the list of variable of this method.Methods in com.sun.codemodel with parameters of type JVar Modifier and Type Method Description JCommentPart
JDocComment. addParam(JVar param)
Append a text to an @param tag.JFormatter
JFormatter. b(JVar v)
Cause the JVar to generate source for itselfvoid
JForLoop. init(JVar v, JExpression e)
static JFieldRef
JExpr. ref(JExpression lhs, JVar field)
JFieldRef
JExpression. ref(JVar field)
JFieldRef
JExpressionImpl. ref(JVar field)
JFieldRef
JClass. staticRef(JVar field)
Static field reference. -
Uses of JVar in com.sun.tools.xjc.generator.bean
Methods in com.sun.tools.xjc.generator.bean that return JVar Modifier and Type Method Description abstract JVar
MethodWriter. addParameter(JType type, java.lang.String name)
Adds a parameter to the previously declared method.JVar
MethodWriter. addParameter(java.lang.Class type, java.lang.String name)
-
Uses of JVar in com.sun.tools.xjc.outline
Methods in com.sun.tools.xjc.outline with parameters of type JVar Modifier and Type Method Description void
FieldAccessor. toRawValue(JBlock block, JVar $var)
Dumps everything in this field into the given variable.
-