com.android.dx.command.dump
Class SsaDumper

java.lang.Object
  extended by com.android.dx.command.dump.BaseDumper
      extended by com.android.dx.command.dump.BlockDumper
          extended by com.android.dx.command.dump.SsaDumper
All Implemented Interfaces:
ParseObserver

public class SsaDumper
extends BlockDumper

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
 
Method Summary
static 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
getAt, getBytes, getFilePath, getRawBytes, getStrictParse, getWidth1, getWidth2, hexDump, print, println, setAt, twoColumns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 file
out - non-null; where to dump to
filePath - the file path for the class, excluding any base directory specification
args - 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 interface ParseObserver
Overrides:
endParsingMember in class BlockDumper
Parameters:
bytes - non-null; the source that was parsed
offset - offset into bytes for the end of the member
name - non-null; name of the member
descriptor - non-null; descriptor of the member
member - non-null; the actual member that was parsed


Copyright © 2015. All rights reserved.