Class Main.Logger
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.batch.Main.Logger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildFileName(String outputPath, String relativeFileName) voidclose()voidvoidvoidvoidvoidflush()voidvoidlogClassFile(boolean generatePackagesStructure, String outputPath, String relativeFileName) voidlogClasspath(FileSystem.Classpath[] classpaths) voidlogCommandLineArguments(String[] commandLineArguments) voidvoidloggingExtraProblems(Main currentMain) voidvoidlogNoClassFileCreated(String outputDir, String relativeFileName, IOException e) voidlogNumberOfClassFilesGenerated(int exportedClassFilesCounter) voidlogOptions(Map<String, String> options) voidlogPendingError(String error) intlogProblems(CategorizedProblem[] problems, char[] unitSource, Main currentMain) voidlogProblemsSummary(int globalProblemsCount, int globalErrorsCount, int globalWarningsCount, int globalInfoCount, int globalTasksCount) voidvoidlogRepetition(int i, int repetitions) voidlogTiming(CompilerStats compilerStats) voidlogUnavaibleAPT(String className) voidPrint the usage of the compilervoidlogVersion(boolean printToOut) Print the version of the compiler in the log and/or the out fieldvoidlogWarning(String message) voidPrint the usage of wrong JDKvoidvoidvoidsetEmacs()voidvoidstartLoggingSource(CompilationResult compilationResult) voidvoidstartLoggingTasks(int tasks)
-
Field Details
-
EMACS
public static final int EMACS- See Also:
-
XML
public static final int XML- See Also:
-
-
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) -
logOptions
-
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) -
logProgress
public void logProgress() -
logRepetition
public void logRepetition(int i, int repetitions) - Parameters:
i- the current repetition numberrepetitions- the given number of repetitions
-
logTiming
-
logUsage
Print the usage of the compiler -
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)
-