Class StreamDumper
java.lang.Object
org.benf.cfr.reader.util.output.StreamDumper
- All Implemented Interfaces:
Dumper, MethodErrorCollector
- Direct Known Subclasses:
FileDumper, StdIODumper, StringStreamDumper
-
Nested Class Summary
Nested classes/interfaces inherited from interface Dumper
Dumper.CannotCreateNested classes/interfaces inherited from interface MethodErrorCollector
MethodErrorCollector.SummaryDumperMethodErrorCollector -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Set<JavaTypeInstance> protected final IllegalIdentifierDumpprotected final Optionsprotected static final String -
Method Summary
Modifier and TypeMethodDescriptionbeginBlockComment(boolean inline) booleancanEmitClass(JavaTypeInstance type) dump(JavaTypeInstance javaTypeInstance) dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext) ///////////voidfieldName(String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines) intintintidentifier(String s, Object ref, boolean defines) voidindent(int diff) voidmethodName(String s, MethodPrototype p, boolean special, boolean defines) newln()print(char c) protected abstract voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Dumper
addSummaryError, close, getAdditionalOutputStream, withTypeUsageInformation
-
Field Details
-
options
-
illegalIdentifierDump
-
emitted
-
STANDARD_INDENT
- See Also:
-
-
Method Details
-
getTypeUsageInformation
-
getObfuscationMapping
-
write
-
label
-
identifier
-
methodName
-
packageName
-
print
-
print
-
keyword
-
operator
-
separator
-
literal
-
newln
-
endCodeln
-
explicitIndent
-
indent
public void indent(int diff) -
fieldName
public Dumper fieldName(String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines) -
dump
Description copied from interface:Dumper/////////// -
dump
-
canEmitClass
-
getOutputCount
public int getOutputCount() -
getCurrentLine
public int getCurrentLine()- Specified by:
getCurrentLinein interfaceDumper
-
beginBlockComment
- Specified by:
beginBlockCommentin interfaceDumper
-
endBlockComment
- Specified by:
endBlockCommentin interfaceDumper
-
comment
-
enqueuePendingCarriageReturn
public void enqueuePendingCarriageReturn()- Specified by:
enqueuePendingCarriageReturnin interfaceDumper
-
dump
-
removePendingCarriageReturn
- Specified by:
removePendingCarriageReturnin interfaceDumper
-
getIndentLevel
public int getIndentLevel()- Specified by:
getIndentLevelin interfaceDumper
-
informBytecodeLoc
- Specified by:
informBytecodeLocin interfaceDumper
-