public class ToStringGenerationVisitor extends TextOutputVisitor
Modifier and Type | Field and Description |
---|---|
protected static char[] |
CHARS_ABSTRACT |
protected static char[] |
CHARS_ASSERT |
protected static char[] |
CHARS_BREAK |
protected static char[] |
CHARS_CASE |
protected static char[] |
CHARS_CATCH |
protected static char[] |
CHARS_CLASS |
protected static char[] |
CHARS_COMMA |
protected static char[] |
CHARS_CONTINUE |
protected static char[] |
CHARS_DEFAULT |
protected static char[] |
CHARS_DO |
protected static char[] |
CHARS_DOTCLASS |
protected static char[] |
CHARS_ELSE |
protected static char[] |
CHARS_EXTENDS |
protected static char[] |
CHARS_FALSE |
protected static char[] |
CHARS_FINAL |
protected static char[] |
CHARS_FINALLY |
protected static char[] |
CHARS_FOR |
protected static char[] |
CHARS_IF |
protected static char[] |
CHARS_IMPLEMENTS |
protected static char[] |
CHARS_INSTANCEOF |
protected static char[] |
CHARS_INTERFACE |
protected static char[] |
CHARS_NAMEOF |
protected static char[] |
CHARS_NATIVE |
protected static char[] |
CHARS_NEW |
protected static char[] |
CHARS_NULL |
protected static char[] |
CHARS_PIPE |
protected static char[] |
CHARS_PRIVATE |
protected static char[] |
CHARS_PROTECTED |
protected static char[] |
CHARS_PUBLIC |
protected static char[] |
CHARS_RETURN |
protected static char[] |
CHARS_RUNTIMETYPEREFERENCE |
protected static char[] |
CHARS_SLASHSTAR |
protected static char[] |
CHARS_STARSLASH |
protected static char[] |
CHARS_STATIC |
protected static char[] |
CHARS_SUPER |
protected static char[] |
CHARS_SWITCH |
protected static char[] |
CHARS_THIS |
protected static char[] |
CHARS_THROW |
protected static char[] |
CHARS_TRUE |
protected static char[] |
CHARS_TRY |
protected static char[] |
CHARS_WHILE |
LVALUE_CONTEXT, UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
ToStringGenerationVisitor(TextOutput textOutput) |
getColumn, getLine, getPosition, indentIn, indentOut, newline, newlineOpt, print, print, print, printOpt, printOpt, printOpt
accept, accept, accept, accept, accept, accept, acceptImmutable, acceptLvalue, acceptWithInsertRemove, acceptWithInsertRemoveImmutable, didChange, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, translateException, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
protected static final char[] CHARS_ABSTRACT
protected static final char[] CHARS_ASSERT
protected static final char[] CHARS_BREAK
protected static final char[] CHARS_CASE
protected static final char[] CHARS_CATCH
protected static final char[] CHARS_CLASS
protected static final char[] CHARS_COMMA
protected static final char[] CHARS_CONTINUE
protected static final char[] CHARS_DEFAULT
protected static final char[] CHARS_DO
protected static final char[] CHARS_DOTCLASS
protected static final char[] CHARS_ELSE
protected static final char[] CHARS_EXTENDS
protected static final char[] CHARS_FALSE
protected static final char[] CHARS_FINAL
protected static final char[] CHARS_FINALLY
protected static final char[] CHARS_FOR
protected static final char[] CHARS_IF
protected static final char[] CHARS_IMPLEMENTS
protected static final char[] CHARS_INSTANCEOF
protected static final char[] CHARS_INTERFACE
protected static final char[] CHARS_NAMEOF
protected static final char[] CHARS_NATIVE
protected static final char[] CHARS_NEW
protected static final char[] CHARS_NULL
protected static final char[] CHARS_PIPE
protected static final char[] CHARS_PRIVATE
protected static final char[] CHARS_PROTECTED
protected static final char[] CHARS_PUBLIC
protected static final char[] CHARS_RETURN
protected static final char[] CHARS_RUNTIMETYPEREFERENCE
protected static final char[] CHARS_SLASHSTAR
protected static final char[] CHARS_STARSLASH
protected static final char[] CHARS_STATIC
protected static final char[] CHARS_SUPER
protected static final char[] CHARS_SWITCH
protected static final char[] CHARS_THIS
protected static final char[] CHARS_THROW
protected static final char[] CHARS_TRUE
protected static final char[] CHARS_TRY
protected static final char[] CHARS_WHILE
public ToStringGenerationVisitor(TextOutput textOutput)
public boolean visit(JAbsentArrayDimension x, Context ctx)
public boolean visit(JArrayLength x, Context ctx)
public boolean visit(JArrayType x, Context ctx)
public boolean visit(JAssertStatement x, Context ctx)
public boolean visit(JBinaryOperation x, Context ctx)
public boolean visit(JBooleanLiteral x, Context ctx)
public boolean visit(JBreakStatement x, Context ctx)
public boolean visit(JCaseStatement x, Context ctx)
public boolean visit(JCastOperation x, Context ctx)
public boolean visit(JCharLiteral x, Context ctx)
public boolean visit(JClassLiteral x, Context ctx)
public boolean visit(JClassType x, Context ctx)
public boolean visit(JConditional x, Context ctx)
public boolean visit(JConstructor x, Context ctx)
public boolean visit(JContinueStatement x, Context ctx)
public boolean visit(JDebuggerStatement x, Context ctx)
public boolean visit(JDeclarationStatement x, Context ctx)
public boolean visit(JDoStatement x, Context ctx)
public boolean visit(JDoubleLiteral x, Context ctx)
public boolean visit(JExpressionStatement x, Context ctx)
public boolean visit(JFieldRef x, Context ctx)
JVisitor
public boolean visit(JFloatLiteral x, Context ctx)
public boolean visit(JForStatement x, Context ctx)
public boolean visit(JGwtCreate x, Context ctx)
public boolean visit(JIfStatement x, Context ctx)
public boolean visit(JInstanceOf x, Context ctx)
public boolean visit(JInterfaceType x, Context ctx)
public boolean visit(JIntLiteral x, Context ctx)
public boolean visit(JLabeledStatement x, Context ctx)
public boolean visit(JLongLiteral x, Context ctx)
public boolean visit(JMethodBody x, Context ctx)
public boolean visit(JMethodCall x, Context ctx)
JVisitor
public boolean visit(JMultiExpression x, Context ctx)
public boolean visit(JRuntimeTypeReference x, Context ctx)
public boolean visit(JNewInstance x, Context ctx)
public boolean visit(JNullLiteral x, Context ctx)
public boolean visit(JParameter x, Context ctx)
public boolean visit(JParameterRef x, Context ctx)
public boolean visit(JPostfixOperation x, Context ctx)
public boolean visit(JPrefixOperation x, Context ctx)
public boolean visit(JPrimitiveType x, Context ctx)
public boolean visit(JReturnStatement x, Context ctx)
public boolean visit(JsniFieldRef x, Context ctx)
public boolean visit(JsniMethodBody x, Context ctx)
public boolean visit(JsniMethodRef x, Context ctx)
public boolean visit(JStringLiteral x, Context ctx)
public boolean visit(JSwitchStatement x, Context ctx)
public boolean visit(JThrowStatement x, Context ctx)
public boolean visit(JTryStatement x, Context ctx)
public boolean visit(JWhileStatement x, Context ctx)
protected void closeBlock()
protected void lparen()
protected boolean nestedStatementPop(JStatement statement)
protected boolean nestedStatementPush(JStatement statement)
protected void openBlock()
protected boolean parenPop(int parentPrec, JExpression child)
protected boolean parenPop(JExpression parent, JExpression child)
protected boolean parenPush(int parentPrec, JExpression child)
protected boolean parenPush(JExpression parent, JExpression child)
protected void printAbstractFlag(CanBeAbstract x)
protected void printBooleanLiteral(boolean value)
protected void printChar(char c)
protected void printCharLiteral(char value)
protected void printDoubleLiteral(double value)
protected void printFinalFlag(CanBeFinal x)
protected void printLongLiteral(long value)
protected void printMethodHeader(JMethod x)
protected void printName(HasName x)
protected void printNativeFlag(CanBeNative x)
protected void printParameterList(JMethod x)
protected void printStaticFlag(CanBeStatic x)
protected void printStringLiteral(String string)
protected void printType(HasType hasType)
protected void printTypeName(JType type)
protected void rparen()
protected void semi()
protected boolean shouldPrintMethodBody()
protected void space()
Copyright © 2018. All rights reserved.