Class EclipseCompilerImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main
org.aspectj.org.eclipse.jdt.internal.compiler.tool.EclipseCompilerImpl
- All Implemented Interfaces:
ProblemSeverities
,SuffixConstants
-
Nested Class Summary
Nested classes/interfaces inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main
Main.Logger, Main.ResourceBundleFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionDiagnosticListener
<? super JavaFileObject> protected Processor[]
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main
annotationPaths, annotationsFromClasspath, aspectjLocale, batchCompiler, bundle, bundleName, checkedClasspaths, classNames, compilerLocale, compilerOptions, compilerStats, complianceLevel, currentRepetition, DEFAULT_SIZE_CLASSPATH, destinationPath, destinationPaths, enablePreview, encodings, exportedClassFilesCounter, extraProblems, failOnWarning, filenames, globalErrorsCount, globalInfoCount, globalProblemsCount, globalTasksCount, globalWarningsCount, ignoreOptionalProblemsFromFolders, limitedModules, lineCount0, log, logger, maxProblems, maxRepetition, modNames, module, NONE, options, out, pendingErrors, proceed, proceedOnError, produceRefInfo, progress, releaseVersion, rootModules, showProgress, startTime, systemExitWhenFinished, timing, TIMING_DETAILED, TIMING_DISABLED, TIMING_ENABLED, verbose
Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemSeverities
Abort, AbortCompilation, AbortCompilationUnit, AbortMethod, AbortType, CoreSeverityMASK, Error, Fatal, Ignore, Info, InternalError, Optional, SecondaryError, Warning
Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, EXTENSION_jmod, EXTENSION_JMOD, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA
-
Constructor Summary
ConstructorsConstructorDescriptionEclipseCompilerImpl
(PrintWriter out, PrintWriter err, boolean systemExitWhenFinished) -
Method Summary
Modifier and TypeMethodDescriptionboolean
call()
protected List
<FileSystem.Classpath> getPlatformLocations
(File file) protected void
protected void
initialize
(PrintWriter outWriter, PrintWriter errWriter, boolean systemExit, Map<String, String> customDefaultOptions, CompilationProgress compilationProgress) protected void
protected void
void
outputClassFiles
(CompilationResult unitResult) protected void
setPaths
(ArrayList<String> bootclasspaths, String sourcepathClasspathArg, ArrayList<String> sourcepathClasspaths, ArrayList<String> classpaths, String modulePath, String moduleSourcepath, ArrayList<String> extdirsClasspaths, ArrayList<String> endorsedDirClasspaths, String customEncoding) Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main
_bind, addExtraProblems, addNewEntry, bind, bind, bind, bind, checkVMVersion, compile, compile, compile, compile, configure, disableAll, enableAll, extractDestinationPathFromSourceFile, getBatchRequestor, getJavaHome, getLibrariesFiles, getLibraryAccess, getModuleDesc, handleBootclasspath, handleClasspath, handleEndorseddirs, handleErrorToken, handleExtdirs, handleInfoToken, handleModulepath, handleModuleSourcepath, handleWarningToken, initialize, initialize, initRootModules, isIgnored, main, performCompilation, printUsage, printVersion, processPathEntries, relocalize, setDestinationPath, setLocale, shouldIgnoreOptionalProblems, tokenize, validateClasspathOptions, validateOptions
-
Field Details
-
fileManager
-
processors
-
diagnosticListener
-
-
Constructor Details
-
EclipseCompilerImpl
-
-
Method Details
-
call
public boolean call() -
getCompilationUnits
- Overrides:
getCompilationUnits
in classMain
-
getHandlingPolicy
- Overrides:
getHandlingPolicy
in classMain
-
getProblemFactory
- Overrides:
getProblemFactory
in classMain
-
initialize
protected void initialize(PrintWriter outWriter, PrintWriter errWriter, boolean systemExit, Map<String, String> customDefaultOptions, CompilationProgress compilationProgress) - Overrides:
initialize
in classMain
-
initializeAnnotationProcessorManager
protected void initializeAnnotationProcessorManager()- Overrides:
initializeAnnotationProcessorManager
in classMain
-
outputClassFiles
- Overrides:
outputClassFiles
in classMain
-
setPaths
protected void setPaths(ArrayList<String> bootclasspaths, String sourcepathClasspathArg, ArrayList<String> sourcepathClasspaths, ArrayList<String> classpaths, String modulePath, String moduleSourcepath, ArrayList<String> extdirsClasspaths, ArrayList<String> endorsedDirClasspaths, String customEncoding) -
handleLocations
protected void handleLocations() -
getPlatformLocations
-
loggingExtraProblems
protected void loggingExtraProblems()- Overrides:
loggingExtraProblems
in classMain
-