Uses of Class
com.sun.codemodel.JFormatter
Packages that use JFormatter
-
Uses of JFormatter in com.sun.codemodel
Methods in com.sun.codemodel that return JFormatterModifier and TypeMethodDescriptionCause the JVar to generate source for itselfJFormatter.d
(JDeclaration d) Cause the JDeclaration to generate source for itselfJFormatter.g
(JGenerable g) Cause the JGenerable object to generate source for iteselfJFormatter.g
(Collection<? extends JGenerable> list) ProducesJGenerable
s separated by ','JExportsDirective.generate
(JFormatter f) Print source code of this module directive.JModule.generate
(JFormatter f) Print source code of Java Module declaration.abstract JFormatter
JModuleDirective.generate
(JFormatter f) Print source code of this module directive.JRequiresDirective.generate
(JFormatter f) Print source code of this module directive.JFormatter.i()
Increment the indentation level.Print an identifierJFormatter.nl()
Print a new line into the streamJFormatter.o()
Decrement the indentation level.JFormatter.p
(char c) Print a char into the streamPrint a String into the streamJFormatter.s
(JStatement s) Cause the JStatement to generate source for itselfPrint a type name.Methods in com.sun.codemodel with parameters of type JFormatterModifier and TypeMethodDescriptionvoid
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, String indent) Writes this part into the formatter by using the specified indentation.void
JAnnotationArrayMember.generate
(JFormatter f) void
JAnnotationClassValue.generate
(JFormatter f) void
JAnnotationStringValue.generate
(JFormatter f) void
JAnnotationUse.generate
(JFormatter f) void
JArray.generate
(JFormatter f) void
JArrayCompRef.generate
(JFormatter f) void
JAssignment.generate
(JFormatter f) void
JBlock.generate
(JFormatter f) void
JCast.generate
(JFormatter f) void
JCatchBlock.generate
(JFormatter f) void
JClass.generate
(JFormatter f) void
JDocComment.generate
(JFormatter f) void
JEnumConstant.generate
(JFormatter f) 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) 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) 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)