Class JavaBuilder
java.lang.Object
org.eclipse.core.internal.events.InternalBuilder
org.eclipse.core.resources.IncrementalProjectBuilder
org.aspectj.org.eclipse.jdt.internal.core.builder.JavaBuilder
- All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension
- Direct Known Subclasses:
AspectJBuilder
public class JavaBuilder
extends org.eclipse.core.resources.IncrementalProjectBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
protected NameEnvironment
protected BuildNotifier
static boolean
static final String
protected NameEnvironment
Fields inherited from class org.eclipse.core.resources.IncrementalProjectBuilder
AUTO_BUILD, CLEAN_BUILD, FULL_BUILD, INCREMENTAL_BUILD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.core.resources.IProject[]
static void
Hook allowing to reset some static state after a complete build iteration.static void
Hook allowing to initialize some static state before a complete build iteration.protected void
clean
(org.eclipse.core.runtime.IProgressMonitor monitor) protected BuildNotifier
createBuildNotifier
(org.eclipse.core.runtime.IProgressMonitor monitor, int buildKind, BooleanSupplier interruptSupplier) protected BatchImageBuilder
getBatchImageBuilder
(JavaBuilder instance, boolean b, CompilationGroup compilationGroup) protected BatchImageBuilder
getBatchImageBuilder2
(BatchImageBuilder instance, boolean b, CompilationGroup compilationGroup) protected IncrementalImageBuilder
getLastState
(org.eclipse.core.resources.IProject project) static org.eclipse.core.resources.IMarker[]
getProblemsFor
(org.eclipse.core.resources.IResource resource) static org.eclipse.core.resources.IMarker[]
getTasksFor
(org.eclipse.core.resources.IResource resource) static State
readState
(org.eclipse.core.resources.IProject project, DataInputStream in) static void
removeProblemsAndTasksFor
(org.eclipse.core.resources.IResource resource) static void
removeProblemsFor
(org.eclipse.core.resources.IResource resource) static void
removeTasksFor
(org.eclipse.core.resources.IResource resource) toString()
String representation for debugging purposesstatic void
writeState
(Object state, DataOutputStream out) Methods inherited from class org.eclipse.core.resources.IncrementalProjectBuilder
forgetLastBuiltState, getBuildConfig, getCommand, getContext, getDelta, getProject, getRule, hasBeenBuilt, isInterrupted, needRebuild, rememberLastBuiltState, requestProjectRebuild, requestProjectsRebuild, setInitializationData, startupOnInitialize
-
Field Details
-
nameEnvironment
-
testNameEnvironment
-
lastState
-
notifier
-
SOURCE_ID
- See Also:
-
DEBUG
public static boolean DEBUG -
SHOW_STATS
public static boolean SHOW_STATS
-
-
Constructor Details
-
JavaBuilder
public JavaBuilder()
-
-
Method Details
-
getProblemsFor
public static org.eclipse.core.resources.IMarker[] getProblemsFor(org.eclipse.core.resources.IResource resource) -
getTasksFor
public static org.eclipse.core.resources.IMarker[] getTasksFor(org.eclipse.core.resources.IResource resource) -
buildStarting
public static void buildStarting()Hook allowing to initialize some static state before a complete build iteration. This hook is invoked during PRE_AUTO_BUILD notification -
buildFinished
public static void buildFinished()Hook allowing to reset some static state after a complete build iteration. This hook is invoked during POST_AUTO_BUILD notification -
removeProblemsFor
public static void removeProblemsFor(org.eclipse.core.resources.IResource resource) -
removeTasksFor
public static void removeTasksFor(org.eclipse.core.resources.IResource resource) -
removeProblemsAndTasksFor
public static void removeProblemsAndTasksFor(org.eclipse.core.resources.IResource resource) -
readState
public static State readState(org.eclipse.core.resources.IProject project, DataInputStream in) throws IOException, org.eclipse.core.runtime.CoreException - Throws:
IOException
org.eclipse.core.runtime.CoreException
-
writeState
- Throws:
IOException
-
build
protected org.eclipse.core.resources.IProject[] build(int kind, Map ignored, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
build
in classorg.eclipse.core.resources.IncrementalProjectBuilder
- Throws:
org.eclipse.core.runtime.CoreException
-
createBuildNotifier
protected BuildNotifier createBuildNotifier(org.eclipse.core.runtime.IProgressMonitor monitor, int buildKind, BooleanSupplier interruptSupplier) -
getBatchImageBuilder
protected BatchImageBuilder getBatchImageBuilder(JavaBuilder instance, boolean b, CompilationGroup compilationGroup) -
getBatchImageBuilder2
protected BatchImageBuilder getBatchImageBuilder2(BatchImageBuilder instance, boolean b, CompilationGroup compilationGroup) -
getIncrementalImageBuilder
-
clean
protected void clean(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Overrides:
clean
in classorg.eclipse.core.resources.IncrementalProjectBuilder
- Throws:
org.eclipse.core.runtime.CoreException
-
getLastState
-
toString
String representation for debugging purposes
-