public abstract class AbstractSourceVisitor extends InsnVisitor<LineBuffer,None>
| Modifier and Type | Field and Description |
|---|---|
protected ImportCollector |
importCollector |
protected int |
indent |
protected static java.lang.String |
INDENT |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSourceVisitor(@Nullable TypeResolver typeResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected LineBuffer |
appendTypeArguments(java.util.List<ReferenceType> args,
LineBuffer buffer) |
protected LineBuffer |
argList(net.covers1624.quack.collection.FastStream<Instruction> args) |
protected LineBuffer |
argList(Instruction... args) |
protected LineBuffer |
argList(java.lang.String prefix,
net.covers1624.quack.collection.FastStream<Instruction> args,
java.lang.String suffix) |
protected LineBuffer |
indent(LineBuffer buffer) |
protected java.lang.String |
indent(java.lang.String line) |
protected LineBuffer |
lines(Instruction other) |
protected void |
popIndent() |
protected void |
pushIndent() |
protected boolean |
showImplicits() |
protected java.lang.String |
typeParameters(ITypeParameterizedMember member,
AnnotationSupplier annotationSupplier) |
visitArrayElementReference, visitArrayLen, visitAssert, visitBinary, visitBlock, visitBlockContainer, visitBranch, visitCheckCast, visitClassDecl, visitCompare, visitComparison, visitCompoundAssignment, visitContinue, visitDeadCode, visitDefault, visitDoWhileLoop, visitFieldDecl, visitFieldReference, visitForEachLoop, visitForLoop, visitIfInstruction, visitInstanceOf, visitInvoke, visitInvokeDynamic, visitLdcBoolean, visitLdcChar, visitLdcClass, visitLdcNull, visitLdcNumber, visitLdcString, visitLeave, visitLoad, visitLoadThis, visitLocalReference, visitLocalVariable, visitLogicAnd, visitLogicNot, visitLogicOr, visitMethodDecl, visitMethodReference, visitMonitor, visitNew, visitNewArray, visitNewObject, visitNop, visitPostIncrement, visitReturn, visitStore, visitSwitch, visitSwitchSection, visitSwitchTable, visitSynchronized, visitTernary, visitThrow, visitTryCatch, visitTryCatchHandler, visitTryFinally, visitTryWithResources, visitWhileLoop, visitYieldprotected static final java.lang.String INDENT
protected final ImportCollector importCollector
protected int indent
protected AbstractSourceVisitor(@Nullable
@Nullable TypeResolver typeResolver)
protected final void pushIndent()
protected final void popIndent()
protected final LineBuffer lines(Instruction other)
protected final LineBuffer indent(LineBuffer buffer)
protected final java.lang.String indent(java.lang.String line)
protected boolean showImplicits()
protected final LineBuffer argList(Instruction... args)
protected final LineBuffer argList(net.covers1624.quack.collection.FastStream<Instruction> args)
protected final LineBuffer argList(java.lang.String prefix, net.covers1624.quack.collection.FastStream<Instruction> args, java.lang.String suffix)
protected final java.lang.String typeParameters(ITypeParameterizedMember member, AnnotationSupplier annotationSupplier)
protected final LineBuffer appendTypeArguments(java.util.List<ReferenceType> args, LineBuffer buffer)