| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final List | |
| private static final List | |
| private static final List | |
| private static final String | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static boolean | Returns: true if classic os on the classpathquery for the Modern compiler existing |
| public static CompilerAdapter | Returns: the compiler adaptereither the name of the desired compiler, or the
full classname of the compiler's adapter. compilerType, Task a task to log through. task)Based on the parameter passed in, this method creates the necessary factory desired. |
| public static CompilerAdapter | Returns: the compiler adaptereither the name of the desired compiler, or the
full classname of the compiler's adapter. compilerType, Task a task to log through. task, Path the classpath to use when looking up an
adapter class classpath)Based on the parameter passed in, this method creates the necessary factory desired. |
| public static boolean | isClassicJdkCompiler(final String
the name of the compiler implementation compilerName)Does the compiler correspond to "classic"? |
| public static boolean | isForkedJavac(final String
the name of the compiler implementation compilerName)Is the compiler implementation a forked jdk compiler? |
| public static boolean | isJdkCompiler(final String
the name of the compiler implementation compilerName)Is the compiler implementation a jdk compiler? |
| public static boolean | isJdkCompilerNickname(final String
the name of the compiler implementation compilerName)Is the compiler implementation a jdk compiler without specified version? |
| public static boolean | isModernJdkCompiler(final String
the name of the compiler implementation compilerName)Does the compiler correspond to "modern"? |
| private static CompilerAdapter | resolveClassName(String
The fully qualified classname to be created. className, ClassLoader the classloader to use loader)Tries to resolve the given classname into a compiler adapter. |
| CLASSIC_JDK_COMPILERS | back to summary |
|---|---|
| private static final List<String> CLASSIC_JDK_COMPILERS | |
| COMPILER_CLASSIC | back to summary |
|---|---|
| public static final String COMPILER_CLASSIC | |
| COMPILER_EXTJAVAC | back to summary |
|---|---|
| public static final String COMPILER_EXTJAVAC | |
| COMPILER_EXTJAVAC_CLASSNAME | back to summary |
|---|---|
| public static final String COMPILER_EXTJAVAC_CLASSNAME | |
| COMPILER_GCJ | back to summary |
|---|---|
| public static final String COMPILER_GCJ | |
| COMPILER_JAVAC_10_PLUS | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_10_PLUS | |
| COMPILER_JAVAC_1_1 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_1_1 | |
| COMPILER_JAVAC_1_2 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_1_2 | |
| COMPILER_JAVAC_1_3 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_1_3 | |
| COMPILER_JAVAC_1_4 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_1_4 | |
| COMPILER_JAVAC_1_5 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_1_5 | |
| COMPILER_JAVAC_1_6 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_1_6 | |
| COMPILER_JAVAC_1_7 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_1_7 | |
| COMPILER_JAVAC_1_8 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_1_8 | |
| COMPILER_JAVAC_9 | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_9 | |
| COMPILER_JAVAC_9_ALIAS | back to summary |
|---|---|
| public static final String COMPILER_JAVAC_9_ALIAS | |
| COMPILER_JIKES | back to summary |
|---|---|
| public static final String COMPILER_JIKES | |
| COMPILER_JVC | back to summary |
|---|---|
| public static final String COMPILER_JVC | |
| COMPILER_JVC_ALIAS | back to summary |
|---|---|
| public static final String COMPILER_JVC_ALIAS | |
| COMPILER_KJC | back to summary |
|---|---|
| public static final String COMPILER_KJC | |
| COMPILER_MODERN | back to summary |
|---|---|
| public static final String COMPILER_MODERN | |
| COMPILER_MODERN_CLASSNAME | back to summary |
|---|---|
| public static final String COMPILER_MODERN_CLASSNAME | |
| COMPILER_SYMANTEC | back to summary |
|---|---|
| public static final String COMPILER_SYMANTEC | |
| COMPILER_SYMANTEC_ALIAS | back to summary |
|---|---|
| public static final String COMPILER_SYMANTEC_ALIAS | |
| FORKED_JDK_COMPILERS | back to summary |
|---|---|
| private static final List<String> FORKED_JDK_COMPILERS | |
| JDK_COMPILER_NICKNAMES | back to summary |
|---|---|
| private static final List<String> JDK_COMPILER_NICKNAMES | |
| JDK_COMPILERS | back to summary |
|---|---|
| private static final List<String> JDK_COMPILERS | |
| MODERN_COMPILER | back to summary |
|---|---|
| private static final String MODERN_COMPILER | |
| MODERN_JDK_COMPILERS | back to summary |
|---|---|
| private static final List<String> MODERN_JDK_COMPILERS | |
| CompilerAdapterFactory | back to summary |
|---|---|
| private CompilerAdapterFactory() This is a singleton -- can't create instances!! | |
| containsIgnoreCase | back to summary |
|---|---|
| private static boolean containsIgnoreCase(final List<String> compilers, final String compilerName) | |
| doesModernCompilerExist | back to summary |
|---|---|
| private static boolean doesModernCompilerExist() query for the Modern compiler existing
| |
| getCompiler | back to summary |
|---|---|
| public static CompilerAdapter getCompiler(String compilerType, Task task) throws BuildException Based on the parameter passed in, this method creates the necessary factory desired. The current mapping for compiler names are as follows:
| |
| getCompiler | back to summary |
|---|---|
| public static CompilerAdapter getCompiler(String compilerType, Task task, Path classpath) throws BuildException Based on the parameter passed in, this method creates the necessary factory desired. The current mapping for compiler names are as follows:
| |
| isClassicJdkCompiler | back to summary |
|---|---|
| public static boolean isClassicJdkCompiler(final String compilerName) Does the compiler correspond to "classic"?
| |
| isForkedJavac | back to summary |
|---|---|
| public static boolean isForkedJavac(final String compilerName) Is the compiler implementation a forked jdk compiler?
| |
| isJdkCompiler | back to summary |
|---|---|
| public static boolean isJdkCompiler(final String compilerName) Is the compiler implementation a jdk compiler?
| |
| isJdkCompilerNickname | back to summary |
|---|---|
| public static boolean isJdkCompilerNickname(final String compilerName) Is the compiler implementation a jdk compiler without specified version?
| |
| isModernJdkCompiler | back to summary |
|---|---|
| public static boolean isModernJdkCompiler(final String compilerName) Does the compiler correspond to "modern"?
| |
| resolveClassName | back to summary |
|---|---|
| private static CompilerAdapter resolveClassName(String className, ClassLoader loader) throws BuildException Tries to resolve the given classname into a compiler adapter. Throws a fit if it can't.
| |