public class BatchImageBuilder extends AbstractImageBuilder
compiledAllAtOnce, compiler, filesWithAnnotations, JAVA_PROBLEM_MARKER_ATTRIBUTE_NAMES, JAVA_TASK_MARKER_ATTRIBUTE_NAMES, javaBuilder, keepStoringProblemMarkers, MAX_AT_ONCE, nameEnvironment, newState, notifier, P_HIGH, P_LOW, P_NORMAL, problemSourceFiles, S_ERROR, S_WARNING, sourceLocations, workQueue| Modifier | Constructor and Description |
|---|---|
protected |
BatchImageBuilder(JavaBuilder javaBuilder,
boolean buildStarting) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
acceptSecondaryType(ClassFile classFile) |
void |
build() |
protected void |
cleanOutputFolders(boolean copyBack) |
protected void |
cleanUp() |
protected void |
compile(SourceFile[] units,
SourceFile[] additionalUnits,
boolean compilingFirstGroup) |
protected void |
copyExtraResourcesBack(ClasspathMultiDirectory sourceLocation,
boolean deletedAll) |
protected IResource |
findOriginalResource(IPath partialPath) |
protected void |
processAnnotationResults(CompilationParticipantResult[] results) |
protected void |
rebuildTypesAffectedBySecondaryTypes() |
protected void |
storeProblemsFor(SourceFile sourceFile,
CategorizedProblem[] problems)
Creates a marker from each problem and adds it to the resource.
|
java.lang.String |
toString() |
acceptResult, addAllSourceFiles, compile, copyResource, createFolder, createProblemFor, deleteGeneratedFiles, findSourceFile, finishedWith, fromIFile, initializeAnnotationProcessorManager, internalException, isExcludedFromProject, newCompiler, notifyParticipants, processAnnotations, recordParticipantResult, storeTasksFor, updateProblemsFor, updateTasksFor, writeClassFile, writeClassFileContentsprotected BatchImageBuilder(JavaBuilder javaBuilder, boolean buildStarting)
public void build()
protected void acceptSecondaryType(ClassFile classFile)
acceptSecondaryType in class AbstractImageBuilderprotected void cleanOutputFolders(boolean copyBack)
throws CoreException
CoreExceptionprotected void cleanUp()
cleanUp in class AbstractImageBuilderprotected void compile(SourceFile[] units, SourceFile[] additionalUnits, boolean compilingFirstGroup)
compile in class AbstractImageBuilderprotected void copyExtraResourcesBack(ClasspathMultiDirectory sourceLocation, boolean deletedAll) throws CoreException
CoreExceptionprotected IResource findOriginalResource(IPath partialPath)
protected void processAnnotationResults(CompilationParticipantResult[] results)
processAnnotationResults in class AbstractImageBuilderprotected void rebuildTypesAffectedBySecondaryTypes()
protected void storeProblemsFor(SourceFile sourceFile, CategorizedProblem[] problems) throws CoreException
AbstractImageBuilderIMarker#SOURCE_ID attribute is positioned to JavaBuilder.SOURCE_ID if
the problem was generated by JDT; else the IMarker#SOURCE_ID attribute is
carried from the problem to the marker in extra attributes, if present.storeProblemsFor in class AbstractImageBuilderCoreExceptionpublic java.lang.String toString()
toString in class java.lang.Object