Uses of Class
com.sun.codemodel.JFormatter
-
Packages that use JFormatter Package Description com.sun.codemodel Library for generating Java source code -
-
Uses of JFormatter in com.sun.codemodel
Methods in com.sun.codemodel that return JFormatter Modifier and Type Method Description JFormatter
JFormatter. b(JVar v)
Cause the JVar to generate source for itselfJFormatter
JFormatter. d(JDeclaration d)
Cause the JDeclaration to generate source for itselfJFormatter
JFormatter. g(JGenerable g)
Cause the JGenerable object to generate source for iteselfJFormatter
JFormatter. g(java.util.Collection<? extends JGenerable> list)
ProducesJGenerable
s separated by ','JFormatter
JExportsDirective. generate(JFormatter f)
Print source code of this module directive.JFormatter
JModule. generate(JFormatter f)
Print source code of Java Module declaration.abstract JFormatter
JModuleDirective. generate(JFormatter f)
Print source code of this module directive.JFormatter
JRequiresDirective. generate(JFormatter f)
Print source code of this module directive.JFormatter
JFormatter. i()
Increment the indentation level.JFormatter
JFormatter. id(java.lang.String id)
Print an identifierJFormatter
JFormatter. nl()
Print a new line into the streamJFormatter
JFormatter. o()
Decrement the indentation level.JFormatter
JFormatter. p(char c)
Print a char into the streamJFormatter
JFormatter. p(java.lang.String s)
Print a String into the streamJFormatter
JFormatter. s(JStatement s)
Cause the JStatement to generate source for itselfJFormatter
JFormatter. t(JClass type)
Print a type name.JFormatter
JFormatter. t(JType type)
Methods in com.sun.codemodel with parameters of type JFormatter Modifier and Type Method Description void
JVar. bind(JFormatter f)
void
JDeclaration. declare(JFormatter f)
void
JDefinedClass. declare(JFormatter f)
void
JEnumConstant. declare(JFormatter f)
void
JFieldVar. declare(JFormatter f)
void
JMethod. declare(JFormatter f)
void
JPackage. declare(JFormatter f)
void
JTypeVar. declare(JFormatter f)
Prints out the declaration of the variable.void
JVar. declare(JFormatter f)
protected void
JDefinedClass. declareBody(JFormatter f)
prints the body of a class.protected void
JCommentPart. format(JFormatter f, java.lang.String indent)
Writes this part into the formatter by using the specified indentation.void
JAnnotationArrayMember. generate(JFormatter f)
void
JAnnotationUse. generate(JFormatter f)
void
JArray. generate(JFormatter f)
void
JAssignment. generate(JFormatter f)
void
JBlock. generate(JFormatter f)
void
JCatchBlock. generate(JFormatter f)
void
JClass. generate(JFormatter f)
void
JDocComment. generate(JFormatter f)
void
JEnumConstant. generate(JFormatter f)
JFormatter
JExportsDirective. generate(JFormatter f)
Print source code of this module directive.void
JFieldRef. generate(JFormatter f)
void
JGenerable. generate(JFormatter f)
void
JInvocation. generate(JFormatter f)
void
JMods. generate(JFormatter f)
JFormatter
JModule. generate(JFormatter f)
Print source code of Java Module declaration.abstract JFormatter
JModuleDirective. generate(JFormatter f)
Print source code of this module directive.void
JPackage. generate(JFormatter f)
void
JPrimitiveType. generate(JFormatter f)
JFormatter
JRequiresDirective. generate(JFormatter f)
Print source code of this module directive.void
JStringLiteral. generate(JFormatter f)
void
JTypeVar. generate(JFormatter f)
void
JVar. generate(JFormatter f)
protected void
JRequiresDirective. generateModifiers(JFormatter f)
Print source code ofrequires
module directive modifiers:public
andstatic
keywords for module dependency.void
JAssignment. state(JFormatter f)
void
JBlock. state(JFormatter f)
void
JCase. state(JFormatter f)
void
JConditional. state(JFormatter f)
void
JDoLoop. state(JFormatter f)
void
JForEach. state(JFormatter f)
void
JForLoop. state(JFormatter f)
void
JInvocation. state(JFormatter f)
void
JLabel. state(JFormatter f)
void
JStatement. state(JFormatter f)
void
JSwitch. state(JFormatter f)
void
JTryBlock. state(JFormatter f)
void
JWhileLoop. state(JFormatter f)
-