Uses of Class
com.sun.codemodel.JVar
Packages that use JVar
Package
Description
Library for generating Java source code
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.codemodelMethods in com.sun.codemodel that return JVarModifier and TypeMethodDescriptionJBlock.decl
(int mods, JType type, String name, JExpression init) Adds a local variable declaration to this blockAdds a local variable declaration to this blockJBlock.decl
(JType type, String name, JExpression init) Adds a local variable declaration to this blockJForLoop.init
(int mods, JType type, String var, JExpression e) JForLoop.init
(JType type, String var, JExpression e) JVar.init
(JExpression init) Initialize this variableJVar[]
JMethod.listParams()
Returns all the parameters in an array.JMethod.listVarParam()
Returns the variable parameterAdd the specified variable to the list of parameters for this method signature.JForEach.var()
Returns a reference to the loop variable.Add the specified variable argument to the list of parameters for this method signature.Methods in com.sun.codemodel that return types with arguments of type JVarMethods in com.sun.codemodel with parameters of type JVarModifier and TypeMethodDescriptionAppend a text to an @param tag.Cause the JVar to generate source for itselfvoid
JForLoop.init
(JVar v, JExpression e) static JFieldRef
JExpr.ref
(JExpression lhs, JVar field) final JFieldRef
final JFieldRef
Static field reference. -
Uses of JVar in com.sun.tools.xjc.generator.bean
Methods in com.sun.tools.xjc.generator.bean that return JVarModifier and TypeMethodDescriptionabstract JVar
MethodWriter.addParameter
(JType type, String name) Adds a parameter to the previously declared method.final JVar
MethodWriter.addParameter
(Class type, String name) -
Uses of JVar in com.sun.tools.xjc.outline
Methods in com.sun.tools.xjc.outline with parameters of type JVarModifier and TypeMethodDescriptionvoid
FieldAccessor.toRawValue
(JBlock block, JVar $var) Dumps everything in this field into the given variable.