| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static int | Returns: an exit code. 0 means success, non-zero means an error occurred.command line arguments args, PrintWriter output stream out)Entry point that does not call System.exit. |
| Main | back to summary |
|---|---|
| public Main() | |
| main | back to summary |
|---|---|
| public static void main(String... args) throws Exception | |
| run | back to summary |
|---|---|
| public static int run(String[] args, PrintWriter out) Entry point that does not call System.exit.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | description()
Overrides default java. Returns a short description of the tool, or an empty
|
| public String | |
| public int | run(PrintWriter out, PrintWriter err, String... args)
Implements java. Runs an instance of the tool, returning zero for a successful run. |
| JDepsToolProvider | back to summary |
|---|---|
| public JDepsToolProvider() | |
| description | back to summary |
|---|---|
| public Optional Overrides default java. Doc from java. Returns a short description of the tool, or an empty
| |
| name | back to summary |
|---|---|
| public String name() Implements java. Doc from java. Returns the name of this tool provider. | |
| run | back to summary |
|---|---|
| public int run(PrintWriter out, PrintWriter err, String... args) Implements java. Doc from java. Runs an instance of the tool, returning zero for a successful run. Any non-zero return value indicates a tool-specific error during the execution. Two streams should be provided, for "expected" output, and for any error messages. If it is not necessary to distinguish the output, the same stream may be used for both. | |