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
FieldsModifier and TypeFieldDescriptionstatic booleanprotected NameEnvironmentprotected BuildNotifierstatic booleanstatic final Stringprotected NameEnvironmentFields inherited from class org.eclipse.core.resources.IncrementalProjectBuilder
AUTO_BUILD, CLEAN_BUILD, FULL_BUILD, INCREMENTAL_BUILD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.core.resources.IProject[]static voidHook allowing to reset some static state after a complete build iteration.static voidHook allowing to initialize some static state before a complete build iteration.protected voidclean(org.eclipse.core.runtime.IProgressMonitor monitor) protected BuildNotifiercreateBuildNotifier(org.eclipse.core.runtime.IProgressMonitor monitor, int buildKind, BooleanSupplier interruptSupplier) protected BatchImageBuildergetBatchImageBuilder(JavaBuilder instance, boolean b, CompilationGroup compilationGroup) protected BatchImageBuildergetBatchImageBuilder2(BatchImageBuilder instance, boolean b, CompilationGroup compilationGroup) protected IncrementalImageBuildergetLastState(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 StatereadState(org.eclipse.core.resources.IProject project, DataInputStream in) static voidremoveProblemsAndTasksFor(org.eclipse.core.resources.IResource resource) static voidremoveProblemsFor(org.eclipse.core.resources.IResource resource) static voidremoveTasksFor(org.eclipse.core.resources.IResource resource) toString()String representation for debugging purposesstatic voidwriteState(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:
IOExceptionorg.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:
buildin 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:
cleanin classorg.eclipse.core.resources.IncrementalProjectBuilder- Throws:
org.eclipse.core.runtime.CoreException
-
getLastState
-
toString
-