-
Enhancement
-
Resolution: Fixed
-
P3
-
asm_tools_7.0, asm_tools_8.0
-
None
-
b05
New option should be added for -g mode(detailed output format): -nc Don't print comments
i.e.
java -jar asmtools.jar jdis -g file.class
...
public Method #417:#437:#443 // fromJson:"(Lcom/google/gson/stream/JsonReader;Ljava/lang/reflect/Type;)Ljava/lang/Object;":"<T:Ljava/lang/Object;>(Lcom/google/gson/stream/JsonReader;Ljava/lang/reflect/Type;)TT;"
throws #177, #217 // com/google/gson/JsonIOException, com/google/gson/JsonSyntaxException
stack 4 locals 10
{
var 0 #303:#304; // this:"Lcom/google/gson/Gson;"
var 1 #411:#414; // reader:"Lcom/google/gson/stream/JsonReader;"
var 2 #424:#379; // typeOfT:"Ljava/lang/reflect/Type;"
...
java -jar asmtools.jar jdis -g -nc file.class
...
public Method #417:#431:#432
throws #177, #217
stack 3 locals 5
{
var 0 #303:#304;
var 1 #419:#412;
var 2 #424:#379;
...
i.e.
java -jar asmtools.jar jdis -g file.class
...
public Method #417:#437:#443 // fromJson:"(Lcom/google/gson/stream/JsonReader;Ljava/lang/reflect/Type;)Ljava/lang/Object;":"<T:Ljava/lang/Object;>(Lcom/google/gson/stream/JsonReader;Ljava/lang/reflect/Type;)TT;"
throws #177, #217 // com/google/gson/JsonIOException, com/google/gson/JsonSyntaxException
stack 4 locals 10
{
var 0 #303:#304; // this:"Lcom/google/gson/Gson;"
var 1 #411:#414; // reader:"Lcom/google/gson/stream/JsonReader;"
var 2 #424:#379; // typeOfT:"Ljava/lang/reflect/Type;"
...
java -jar asmtools.jar jdis -g -nc file.class
...
public Method #417:#431:#432
throws #177, #217
stack 3 locals 5
{
var 0 #303:#304;
var 1 #419:#412;
var 2 #424:#379;
...