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 JFormatterJFormatter. b(JVar v)Cause the JVar to generate source for itselfJFormatterJFormatter. d(JDeclaration d)Cause the JDeclaration to generate source for itselfJFormatterJFormatter. g(JGenerable g)Cause the JGenerable object to generate source for iteselfJFormatterJFormatter. g(java.util.Collection<? extends JGenerable> list)ProducesJGenerables separated by ','JFormatterJExportsDirective. generate(JFormatter f)Print source code of this module directive.JFormatterJModule. generate(JFormatter f)Print source code of Java Module declaration.abstract JFormatterJModuleDirective. generate(JFormatter f)Print source code of this module directive.JFormatterJRequiresDirective. generate(JFormatter f)Print source code of this module directive.JFormatterJFormatter. i()Increment the indentation level.JFormatterJFormatter. id(java.lang.String id)Print an identifierJFormatterJFormatter. nl()Print a new line into the streamJFormatterJFormatter. o()Decrement the indentation level.JFormatterJFormatter. p(char c)Print a char into the streamJFormatterJFormatter. p(java.lang.String s)Print a String into the streamJFormatterJFormatter. s(JStatement s)Cause the JStatement to generate source for itselfJFormatterJFormatter. t(JClass type)Print a type name.JFormatterJFormatter. t(JType type)Methods in com.sun.codemodel with parameters of type JFormatter Modifier and Type Method Description voidJVar. bind(JFormatter f)voidJDeclaration. declare(JFormatter f)voidJDefinedClass. declare(JFormatter f)voidJEnumConstant. declare(JFormatter f)voidJFieldVar. declare(JFormatter f)voidJMethod. declare(JFormatter f)voidJPackage. declare(JFormatter f)voidJTypeVar. declare(JFormatter f)Prints out the declaration of the variable.voidJVar. declare(JFormatter f)protected voidJDefinedClass. declareBody(JFormatter f)prints the body of a class.protected voidJCommentPart. format(JFormatter f, java.lang.String indent)Writes this part into the formatter by using the specified indentation.voidJAnnotationArrayMember. generate(JFormatter f)voidJAnnotationUse. generate(JFormatter f)voidJArray. generate(JFormatter f)voidJAssignment. generate(JFormatter f)voidJBlock. generate(JFormatter f)voidJCatchBlock. generate(JFormatter f)voidJClass. generate(JFormatter f)voidJDocComment. generate(JFormatter f)voidJEnumConstant. generate(JFormatter f)JFormatterJExportsDirective. generate(JFormatter f)Print source code of this module directive.voidJFieldRef. generate(JFormatter f)voidJGenerable. generate(JFormatter f)voidJInvocation. generate(JFormatter f)voidJMods. generate(JFormatter f)JFormatterJModule. generate(JFormatter f)Print source code of Java Module declaration.abstract JFormatterJModuleDirective. generate(JFormatter f)Print source code of this module directive.voidJPackage. generate(JFormatter f)voidJPrimitiveType. generate(JFormatter f)JFormatterJRequiresDirective. generate(JFormatter f)Print source code of this module directive.voidJStringLiteral. generate(JFormatter f)voidJTypeVar. generate(JFormatter f)voidJVar. generate(JFormatter f)protected voidJRequiresDirective. generateModifiers(JFormatter f)Print source code ofrequiresmodule directive modifiers:publicandstatickeywords for module dependency.voidJAssignment. state(JFormatter f)voidJBlock. state(JFormatter f)voidJCase. state(JFormatter f)voidJConditional. state(JFormatter f)voidJDoLoop. state(JFormatter f)voidJForEach. state(JFormatter f)voidJForLoop. state(JFormatter f)voidJInvocation. state(JFormatter f)voidJLabel. state(JFormatter f)voidJStatement. state(JFormatter f)voidJSwitch. state(JFormatter f)voidJTryBlock. state(JFormatter f)voidJWhileLoop. state(JFormatter f)
-