Class Main.Logger
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main.Logger
- Enclosing class:
- Main
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildFileName(String outputPath, String relativeFileName)
void
close()
void
void
void
void
void
flush()
void
void
logClassFile(boolean generatePackagesStructure, String outputPath, String relativeFileName)
void
logClasspath(FileSystem.Classpath[] classpaths)
void
logCommandLineArguments(String[] commandLineArguments)
void
void
loggingExtraProblems(Main currentMain)
void
void
logNoClassFileCreated(String outputDir, String relativeFileName, IOException e)
void
logNumberOfClassFilesGenerated(int exportedClassFilesCounter)
void
logOptions(Map<String,String> options)
void
logPendingError(String error)
int
logProblems(CategorizedProblem[] problems, char[] unitSource, Main currentMain)
void
logProblemsSummary(int globalProblemsCount, int globalErrorsCount, int globalWarningsCount, int globalInfoCount, int globalTasksCount)
void
void
logRepetition(int i, int repetitions)
void
logTiming(CompilerStats compilerStats)
void
logUnavaibleAPT(String className)
void
Print the usage of the compilervoid
logVersion(boolean printToOut)
Print the version of the compiler in the log and/or the out fieldvoid
logWarning(String message)
void
Print the usage of wrong JDKvoid
void
void
setEmacs()
void
void
startLoggingSource(CompilationResult compilationResult)
void
void
startLoggingTasks(int tasks)
-
Field Details
-
EMACS
public static final int EMACS- See Also:
- Constant Field Values
-
XML
public static final int XML- See Also:
- Constant Field Values
-
-
Constructor Details
-
Logger
-
-
Method Details
-
buildFileName
-
close
public void close() -
compiling
public void compiling() -
endLoggingSource
public void endLoggingSource() -
endLoggingSources
public void endLoggingSources() -
endLoggingTasks
public void endLoggingTasks() -
flush
public void flush() -
logAverage
public void logAverage() -
logClassFile
-
logClasspath
-
logCommandLineArguments
-
logException
- Parameters:
e
- the given exception to log
-
loggingExtraProblems
-
logIncorrectVMVersionForAnnotationProcessing
public void logIncorrectVMVersionForAnnotationProcessing() -
logNoClassFileCreated
-
logNumberOfClassFilesGenerated
public void logNumberOfClassFilesGenerated(int exportedClassFilesCounter)- Parameters:
exportedClassFilesCounter
-
-
logOptions
- Parameters:
options
- the given compiler options
-
logPendingError
- Parameters:
error
- the given error
-
logWarning
- Parameters:
message
- the given message
-
logProblems
-
logProblemsSummary
public void logProblemsSummary(int globalProblemsCount, int globalErrorsCount, int globalWarningsCount, int globalInfoCount, int globalTasksCount)- Parameters:
globalProblemsCount
-globalErrorsCount
-globalWarningsCount
-
-
logProgress
public void logProgress() -
logRepetition
public void logRepetition(int i, int repetitions)- Parameters:
i
- the current repetition numberrepetitions
- the given number of repetitions
-
logTiming
- Parameters:
compilerStats
-
-
logUsage
Print the usage of the compiler- Parameters:
usage
-
-
logVersion
public void logVersion(boolean printToOut)Print the version of the compiler in the log and/or the out field -
logWrongJDK
public void logWrongJDK()Print the usage of wrong JDK -
printNewLine
public void printNewLine() -
printStats
public void printStats() -
setEmacs
public void setEmacs() -
setLog
-
startLoggingSource
-
startLoggingSources
public void startLoggingSources() -
startLoggingTasks
public void startLoggingTasks(int tasks)
-