This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| public class | |
| public static class | |
| pack-priv abstract static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Map | |
| pack-priv List | |
| protected Context | |
| pack-priv JavaFileManager | |
| pack-priv DiagnosticListener | |
| pack-priv static final int | EXIT_ABNORMAL
Result codes. |
| pack-priv static final int | EXIT_CMDERR
Result codes. |
| pack-priv static final int | EXIT_ERROR
Result codes. |
| pack-priv static final int | EXIT_OK
Result codes. |
| pack-priv static final int | EXIT_SYSERR
Result codes. |
| pack-priv JavaFileManager | |
| pack-priv PrintWriter | |
| pack-priv JavaFileManager. | |
| private static final String | |
| pack-priv Options | |
| private static final String | |
| pack-priv static final JavapTask. | |
| pack-priv Locale | |
| private static ResourceBundle | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | JavapTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener)
|
| public | JavapTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes)
|
| Modifier and Type | Method and Description |
|---|---|
| public Boolean | call()
Implements com. Performs this compilation task. |
| private Diagnostic | |
| private JavaFileManager. | |
| private JavaFileObject | |
| private JavaFileManager | |
| private DiagnosticListener | |
| private DiagnosticListener | |
| public String | |
| public String | getMessage(Locale locale, String key, Object... args)
Implements com.
|
| private static PrintWriter | |
| private static PrintWriter | |
| private void | |
| public void | |
| private void | |
| protected JavaFileObject | |
| private void | |
| public JavapTask. | |
| private void | |
| private void | |
| private void | |
| pack-priv int | |
| public int | |
| public void | |
| public void | |
| public void | setLocale(Locale locale)
Implements com. Set the locale to be applied when formatting diagnostics and other localized data. |
| public void | |
| public void | |
| private void | |
| private void | |
| private String | |
| public boolean | |
| protected int |
| bundles | back to summary |
|---|---|
| pack-priv Map<Locale, ResourceBundle> bundles | |
| classes | back to summary |
|---|---|
| pack-priv List<String> classes | |
| context | back to summary |
|---|---|
| protected Context context | |
| defaultFileManager | back to summary |
|---|---|
| pack-priv JavaFileManager defaultFileManager | |
| diagnosticListener | back to summary |
|---|---|
| pack-priv DiagnosticListener<? super JavaFileObject> diagnosticListener | |
| EXIT_ABNORMAL | back to summary |
|---|---|
| pack-priv static final int EXIT_ABNORMAL Result codes. | |
| EXIT_CMDERR | back to summary |
|---|---|
| pack-priv static final int EXIT_CMDERR Result codes. | |
| EXIT_ERROR | back to summary |
|---|---|
| pack-priv static final int EXIT_ERROR Result codes. | |
| EXIT_OK | back to summary |
|---|---|
| pack-priv static final int EXIT_OK Result codes. | |
| EXIT_SYSERR | back to summary |
|---|---|
| pack-priv static final int EXIT_SYSERR Result codes. | |
| fileManager | back to summary |
|---|---|
| pack-priv JavaFileManager fileManager | |
| log | back to summary |
|---|---|
| pack-priv PrintWriter log | |
| moduleLocation | back to summary |
|---|---|
| pack-priv JavaFileManager. | |
| nl | back to summary |
|---|---|
| private static final String nl | |
| options | back to summary |
|---|---|
| pack-priv Options options | |
| progname | back to summary |
|---|---|
| private static final String progname | |
| recognizedOptions | back to summary |
|---|---|
| pack-priv static final JavapTask. | |
| task_locale | back to summary |
|---|---|
| pack-priv Locale task_locale | |
| versionRB | back to summary |
|---|---|
| private static ResourceBundle versionRB | |
| versionRBName | back to summary |
|---|---|
| private static final String versionRBName | |
| JavapTask | back to summary |
|---|---|
| public JavapTask() | |
| JavapTask | back to summary |
|---|---|
| public JavapTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener) | |
| JavapTask | back to summary |
|---|---|
| public JavapTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes) | |
| call | back to summary |
|---|---|
| public Boolean call() Implements com. Doc from com. Performs this compilation task. The compilation may only be performed once. Subsequent calls to this method throw IllegalStateException. | |
| createDiagnostic | back to summary |
|---|---|
| private Diagnostic | |
| findModule | back to summary |
|---|---|
| private JavaFileManager. | |
| getClassFileObject | back to summary |
|---|---|
| private JavaFileObject getClassFileObject(String className) throws IOException | |
| getDefaultFileManager | back to summary |
|---|---|
| private JavaFileManager getDefaultFileManager(final DiagnosticListener<? super JavaFileObject> dl, PrintWriter log) | |
| getDiagnosticListenerForStream | back to summary |
|---|---|
| private DiagnosticListener | |
| getDiagnosticListenerForWriter | back to summary |
|---|---|
| private DiagnosticListener | |
| getMessage | back to summary |
|---|---|
| public String getMessage(String key, Object... args) Implements com. | |
| getMessage | back to summary |
|---|---|
| public String getMessage(Locale locale, String key, Object... args) Implements com. | |
| getPrintWriterForStream | back to summary |
|---|---|
| private static PrintWriter getPrintWriterForStream(OutputStream s) | |
| getPrintWriterForWriter | back to summary |
|---|---|
| private static PrintWriter getPrintWriterForWriter(Writer w) | |
| handleOption | back to summary |
|---|---|
| private void handleOption(String name, Iterator<String> rest) throws BadArgs | |
| handleOptions | back to summary |
|---|---|
| public void handleOptions(String[] args) throws BadArgs | |
| handleOptions | back to summary |
|---|---|
| private void handleOptions(Iterable<String> args, boolean allowClasses) throws BadArgs | |
| open | back to summary |
|---|---|
| protected JavaFileObject open(String className) throws IOException | |
| printLines | back to summary |
|---|---|
| private void printLines(String msg) | |
| read | back to summary |
|---|---|
| public JavapTask. | |
| reportError | back to summary |
|---|---|
| private void reportError(String key, Object... args) | |
| reportNote | back to summary |
|---|---|
| private void reportNote(String key, Object... args) | |
| reportWarning | back to summary |
|---|---|
| private void reportWarning(String key, Object... args) | |
| run | back to summary |
|---|---|
| pack-priv int run(String[] args) | |
| run | back to summary |
|---|---|
| public int run() | |
| setDiagnosticListener | back to summary |
|---|---|
| public void setDiagnosticListener(DiagnosticListener<? super JavaFileObject> dl) | |
| setDiagnosticListener | back to summary |
|---|---|
| public void setDiagnosticListener(OutputStream s) | |
| setLocale | back to summary |
|---|---|
| public void setLocale(Locale locale) Implements com. Doc from com. Set the locale to be applied when formatting diagnostics and other localized data. | |
| setLog | back to summary |
|---|---|
| public void setLog(Writer log) | |
| setLog | back to summary |
|---|---|
| public void setLog(OutputStream s) | |
| showHelp | back to summary |
|---|---|
| private void showHelp() | |
| showVersion | back to summary |
|---|---|
| private void showVersion(boolean full) | |
| version | back to summary |
|---|---|
| private String version(String key) | |
| write | back to summary |
|---|---|
| public boolean write(JavapTask. | |
| writeClass | back to summary |
|---|---|
| protected int writeClass(ClassWriter classWriter, String className) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Object[] | |
| pack-priv final String | |
| pack-priv static final long | |
| pack-priv boolean |
| args | back to summary |
|---|---|
pack-priv final Object[] args
| |
| key | back to summary |
|---|---|
| pack-priv final String key | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| showUsage | back to summary |
|---|---|
| pack-priv boolean showUsage | |
| BadArgs | back to summary |
|---|---|
| pack-priv BadArgs(String key, Object... args) | |
| showUsage | back to summary |
|---|---|
| pack-priv JavapTask. | |
| Modifier and Type | Field and Description |
|---|---|
| public final ClassModel | |
| public final byte[] | |
| public final JavaFileObject | |
| public final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| cm | back to summary |
|---|---|
| public final ClassModel cm | |
| digest | back to summary |
|---|---|
| public final byte[] digest | |
| fo | back to summary |
|---|---|
| public final JavaFileObject fo | |
| size | back to summary |
|---|---|
| public final int size | |
| ClassFileInfo | back to summary |
|---|---|
| pack-priv ClassFileInfo(JavaFileObject fo, ClassModel cm, byte[] digest, int size) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String[] | |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv abstract void |
| aliases | back to summary |
|---|---|
| pack-priv final String[] aliases | |
| hasArg | back to summary |
|---|---|
| pack-priv final boolean hasArg | |
| Option | back to summary |
|---|---|
| pack-priv Option(boolean hasArg, String... aliases) | |
| ignoreRest | back to summary |
|---|---|
| pack-priv boolean ignoreRest() | |
| matches | back to summary |
|---|---|
| pack-priv boolean matches(String opt) | |
| process | back to summary |
|---|---|
| pack-priv abstract void process(JavapTask task, String opt, String arg) throws BadArgs | |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | read(byte[] buf, int offset, int length)
Overrides java. Reads up to |
| public int | |
| pack-priv int |
| size | back to summary |
|---|---|
| private int size | |
| SizeInputStream | back to summary |
|---|---|
| pack-priv SizeInputStream(InputStream in) | |
| read | back to summary |
|---|---|
| public int read(byte[] buf, int offset, int length) throws IOException Overrides java. Doc from java. Reads up to
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| size | back to summary |
|---|---|
| pack-priv int size() | |