|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JFormatter | |
---|---|
com.sun.codemodel | Library for generating Java source code |
Uses of JFormatter in com.sun.codemodel |
---|
Methods in com.sun.codemodel that return JFormatter | |
---|---|
JFormatter |
JFormatter.b(JVar v)
Cause the JVar to generate source for itself |
JFormatter |
JFormatter.d(JDeclaration d)
Cause the JDeclaration to generate source for itself |
JFormatter |
JFormatter.g(java.util.Collection<? extends com.sun.codemodel.JGenerable> list)
Produces JGenerable s separated by ',' |
JFormatter |
JFormatter.g(com.sun.codemodel.JGenerable g)
Cause the JGenerable object to generate source for iteself |
JFormatter |
JFormatter.i()
Increment the indentation level. |
JFormatter |
JFormatter.id(java.lang.String id)
Print an identifier |
JFormatter |
JFormatter.nl()
Print a new line into the stream |
JFormatter |
JFormatter.o()
Decrement the indentation level. |
JFormatter |
JFormatter.p(char c)
Print a char into the stream |
JFormatter |
JFormatter.p(java.lang.String s)
Print a String into the stream |
JFormatter |
JFormatter.s(JStatement s)
Cause the JStatement to generate source for itself |
JFormatter |
JFormatter.t(JClass type)
Print a type name. |
JFormatter |
JFormatter.t(JType type)
|
Methods in com.sun.codemodel with parameters of type JFormatter | |
---|---|
void |
JVar.bind(JFormatter f)
|
void |
JTypeVar.declare(JFormatter f)
Prints out the declaration of the variable. |
void |
JEnumConstant.declare(JFormatter f)
|
void |
JMethod.declare(JFormatter f)
|
void |
JVar.declare(JFormatter f)
|
void |
JFieldVar.declare(JFormatter f)
|
void |
JDefinedClass.declare(JFormatter f)
|
void |
JDeclaration.declare(JFormatter f)
|
void |
JPackage.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 |
JStringLiteral.generate(JFormatter f)
|
void |
JAssignment.generate(JFormatter f)
|
void |
JArray.generate(JFormatter f)
|
void |
JCatchBlock.generate(JFormatter f)
|
void |
JAnnotationArrayMember.generate(JFormatter f)
|
void |
JFieldRef.generate(JFormatter f)
|
void |
JInvocation.generate(JFormatter f)
|
void |
JTypeVar.generate(JFormatter f)
|
void |
JEnumConstant.generate(JFormatter f)
|
void |
JBlock.generate(JFormatter f)
|
void |
JVar.generate(JFormatter f)
|
void |
JMods.generate(JFormatter f)
|
void |
JPrimitiveType.generate(JFormatter f)
|
void |
JDocComment.generate(JFormatter f)
|
void |
JAnnotationUse.generate(JFormatter f)
|
void |
JClass.generate(JFormatter f)
|
void |
JPackage.generate(JFormatter f)
|
void |
JAssignment.state(JFormatter f)
|
void |
JCase.state(JFormatter f)
|
void |
JForEach.state(JFormatter f)
|
void |
JLabel.state(JFormatter f)
|
void |
JTryBlock.state(JFormatter f)
|
void |
JDoLoop.state(JFormatter f)
|
void |
JSwitch.state(JFormatter f)
|
void |
JWhileLoop.state(JFormatter f)
|
void |
JForLoop.state(JFormatter f)
|
void |
JConditional.state(JFormatter f)
|
void |
JInvocation.state(JFormatter f)
|
void |
JStatement.state(JFormatter f)
|
void |
JBlock.state(JFormatter f)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |