Package jadx.api
Interface ICodeWriter
- All Known Implementing Classes:
AnnotatedCodeWriter,SimpleCodeWriter
public interface ICodeWriter
-
Method Summary
Modifier and TypeMethodDescriptionadd(char c) add(ICodeWriter code) addMultiLine(String str) voidvoidvoidvoidattachSourceLine(int sourceLine) voidfinish()intintintgetLine()Return current line (only if metadata is supported)intReturn start line position (only if metadata is supported)voidbooleannewLine()voidsetIndent(int indent) startLine(char c) startLineWithNum(int sourceLine)
-
Method Details
-
isMetadataSupported
boolean isMetadataSupported() -
startLine
ICodeWriter startLine() -
startLine
-
startLine
-
startLineWithNum
-
addMultiLine
-
add
-
add
-
add
-
newLine
ICodeWriter newLine() -
addIndent
ICodeWriter addIndent() -
incIndent
void incIndent() -
decIndent
void decIndent() -
getIndent
int getIndent() -
setIndent
void setIndent(int indent) -
getLine
int getLine()Return current line (only if metadata is supported) -
getLineStartPos
int getLineStartPos()Return start line position (only if metadata is supported) -
attachDefinition
-
attachAnnotation
-
attachLineAnnotation
-
attachSourceLine
void attachSourceLine(int sourceLine) -
finish
ICodeInfo finish() -
getCodeStr
String getCodeStr() -
getLength
int getLength() -
getRawBuf
StringBuilder getRawBuf() -
getRawAnnotations
-