Package com.android.dx.command.dump
Class SsaDumper
java.lang.Object
com.android.dx.command.dump.BaseDumper
com.android.dx.command.dump.BlockDumper
com.android.dx.command.dump.SsaDumper
- All Implemented Interfaces:
ParseObserver
Dumper for the SSA-translated blocks of a method.
-
Field Summary
Fields inherited from class com.android.dx.command.dump.BlockDumper
classFile, suppressDump
Fields inherited from class com.android.dx.command.dump.BaseDumper
args, dexOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
dump
(byte[] bytes, PrintStream out, String filePath, com.android.dx.command.dump.Args args) Does the dump.void
endParsingMember
(ByteArray bytes, int offset, String name, String descriptor, Member member) Indicate that a particular member is no longer being parsed.Methods inherited from class com.android.dx.command.dump.BlockDumper
changeIndent, dump, dump, parsed, shouldDumpMethod, startParsingMember
Methods inherited from class com.android.dx.command.dump.BaseDumper
getBytes, getFilePath, getRawBytes, getReadBytes, getStrictParse, getWidth1, getWidth2, hexDump, print, println, twoColumns
-
Method Details
-
dump
public static void dump(byte[] bytes, PrintStream out, String filePath, com.android.dx.command.dump.Args args) Does the dump.- Parameters:
bytes
-non-null;
bytes of the original class fileout
-non-null;
where to dump tofilePath
- the file path for the class, excluding any base directory specificationargs
- commandline parsedArgs
-
endParsingMember
public void endParsingMember(ByteArray bytes, int offset, String name, String descriptor, Member member) Indicate that a particular member is no longer being parsed.- Specified by:
endParsingMember
in interfaceParseObserver
- Overrides:
endParsingMember
in classBlockDumper
- Parameters:
bytes
-non-null;
the source that was parsedoffset
- offset intobytes
for the end of the membername
-non-null;
name of the memberdescriptor
-non-null;
descriptor of the membermember
-non-null;
the actual member that was parsed
-