Package org.openjdk.asmtools
Class Main
java.lang.Object
org.openjdk.asmtools.Main
Wrapper class that reads the first command line argument and invokes a corresponding
tool.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Invokes jasm main class with passed argumentsstatic void
Invokes jcdec main class with passed argumentsstatic void
Invokes jcoder main class with passed argumentsstatic void
Invokes jdec main class with passed argumentsstatic void
Invokes jdis main class with passed argumentsstatic void
Parses the first argument and deligates execution to an appropriate toolstatic void
Prints the tools versionstatic void
Prints usage info and error message, afterwards invokes System.exit()
-
Field Details
-
i18n
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
Parses the first argument and deligates execution to an appropriate tool- Parameters:
args
- - command line arguments
-
usage
Prints usage info and error message, afterwards invokes System.exit()- Parameters:
msg
- - error message to print, or null if no errors occurredexitCode
- - exit code to be returned by System.exit()
-
printVersion
public static void printVersion()Prints the tools version -
jasm
Invokes jasm main class with passed arguments -
jcdec
Invokes jcdec main class with passed arguments -
jcoder
Invokes jcoder main class with passed arguments -
jdec
Invokes jdec main class with passed arguments -
jdis
Invokes jdis main class with passed arguments
-