Package org.openjdk.asmtools

## Class Main

- java.lang.Object
- - org.openjdk.asmtools.Main

-     public class Main
      extends java.lang.Object

  Wrapper class that reads the first command line argument and invokes a corresponding tool.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static I18NResourceBundle` | `i18n` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Main()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | `jasm​(java.lang.String[] args)` | Invokes jasm main class with passed arguments
    `static void` | `jcdec​(java.lang.String[] args)` | Invokes jcdec main class with passed arguments
    `static void` | `jcoder​(java.lang.String[] args)` | Invokes jcoder main class with passed arguments
    `static void` | `jdec​(java.lang.String[] args)` | Invokes jdec main class with passed arguments
    `static void` | `jdis​(java.lang.String[] args)` | Invokes jdis main class with passed arguments
    `static void` | `main​(java.lang.String[] args)` | Parses the first argument and deligates execution to an appropriate tool
    `static void` | `printVersion()` | Prints the tools version
    `static void` | `usage​(java.lang.String msg, int exitCode)` | Prints usage info and error message, afterwards invokes System.exit()

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### i18n

          public static final I18NResourceBundle i18n

  - ### Constructor Detail

    - #### Main

          public Main()

  - ### Method Detail

    - #### main

          public static void main​(java.lang.String[] args)

      Parses the first argument and deligates execution to an appropriate tool
      Parameters:
        `args` - - command line arguments

    - #### usage

          public static void usage​(java.lang.String msg,
                                   int exitCode)

      Prints usage info and error message, afterwards invokes System.exit()
      Parameters:
        `msg` - - error message to print, or null if no errors occurred
        `exitCode` - - exit code to be returned by System.exit()

    - #### printVersion

          public static void printVersion()

      Prints the tools version

    - #### jasm

          public static void jasm​(java.lang.String[] args)

      Invokes jasm main class with passed arguments

    - #### jcdec

          public static void jcdec​(java.lang.String[] args)

      Invokes jcdec main class with passed arguments

    - #### jcoder

          public static void jcoder​(java.lang.String[] args)

      Invokes jcoder main class with passed arguments

    - #### jdec

          public static void jdec​(java.lang.String[] args)

      Invokes jdec main class with passed arguments

    - #### jdis

          public static void jdis​(java.lang.String[] args)

      Invokes jdis main class with passed arguments