java.lang.Object | |||
↳ | com.pnfsoftware.jeb.core.output.code.CodeDocumentPart | ||
↳ | com.pnfsoftware.jeb.core.output.code.CppLikeDocumentPart | ||
↳ | com.pnfsoftware.jeb.core.units.code.java.JavaOutputSink |
This output sink is the recipient for the generation of a decompiled Java Abstract Syntax Tree (AST). The sink also contains configuration elements that will guide how certain AST elements are generated. Typically, a sink receives the output for a class or a method element.
Generating an AST yields a special type of elements, called items, that a client (such as the decompiler UI) may want to track to achieve higher level purpose such as xrefs building, renaming, easy syntax coloring, etc. Items include keywords, class/field/method/variable names, labels, etc. The type of items generated depends on the item factory provided to JavaOutputSink constructors.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | JavaOutputSink.CaptureInfo |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JavaOutputSink(int baseAnchorId) | |||||||||||
JavaOutputSink(int baseAnchorId, JavaDocument doc, IDexDecompilerUnit dexdec) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Register an anonymous type (most likely a class) that's about to be rendered as inline code, inside a method or another class. We use this multi-map to track anonymous types that were actually rendered, and those that were not. That can happen in obfuscated files where anonymous inner classes are used by third-party (not the container) classes only.
container | method or class |
---|---|
c | an anonymous that's about to be generated (recorded to avoid generated it later) |
Make sure to call before generateEnter
.
Get the method index of the method being generated
Set the method index of the method being generated
index | the current method index |
---|