Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903531

jdis: Suppress printing comments by adding an option

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • asm_tools_8.0
    • asm_tools_7.0, asm_tools_8.0
    • tools
    • 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;
      ...

            lkuskov Leonid Kuskov
            lkuskov Leonid Kuskov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: