Class TokenStreamDumper
java.lang.Object
org.benf.cfr.reader.util.output.TokenStreamDumper
- All Implemented Interfaces:
Dumper, MethodErrorCollector
-
Nested Class Summary
Nested classes/interfaces inherited from interface Dumper
Dumper.CannotCreateNested classes/interfaces inherited from interface MethodErrorCollector
MethodErrorCollector.SummaryDumperMethodErrorCollector -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSummaryError(Method method, String s) beginBlockComment(boolean inline) booleancanEmitClass(JavaTypeInstance type) voidclose()dump(JavaTypeInstance javaTypeInstance) dump(JavaTypeInstance javaTypeInstance, TypeContext typeContext) ///////////voidfieldName(String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines) getAdditionalOutputStream(String description) intintintidentifier(String s, Object ref, boolean defines) voidindent(int diff) voidmethodName(String s, MethodPrototype p, boolean special, boolean defines) newln()print(char c) withTypeUsageInformation(TypeUsageInformation innerclassTypeUsageInformation)
-
Field Details
-
STANDARD_INDENT
- See Also:
-
-
Method Details
-
getTypeUsageInformation
-
getObfuscationMapping
-
label
-
enqueuePendingCarriageReturn
public void enqueuePendingCarriageReturn()- Specified by:
enqueuePendingCarriageReturnin interfaceDumper
-
removePendingCarriageReturn
- Specified by:
removePendingCarriageReturnin interfaceDumper
-
comment
-
beginBlockComment
- Specified by:
beginBlockCommentin interfaceDumper
-
endBlockComment
- Specified by:
endBlockCommentin interfaceDumper
-
keyword
-
operator
-
separator
-
literal
-
print
-
methodName
-
packageName
-
identifier
-
print
-
newln
-
endCodeln
-
explicitIndent
-
indent
public void indent(int diff) -
dump
Description copied from interface:Dumper/////////// -
dump
-
close
public void close() -
addSummaryError
-
canEmitClass
-
fieldName
public Dumper fieldName(String name, JavaTypeInstance owner, boolean hiddenDeclaration, boolean isStatic, boolean defines) -
withTypeUsageInformation
-
getOutputCount
public int getOutputCount() -
getCurrentLine
public int getCurrentLine()- Specified by:
getCurrentLinein interfaceDumper
-
getAdditionalOutputStream
-
dump
-
getIndentLevel
public int getIndentLevel()- Specified by:
getIndentLevelin interfaceDumper
-
informBytecodeLoc
- Specified by:
informBytecodeLocin interfaceDumper
-