org.aspectj.org.eclipse.jdt.internal.core.builder
Class JavaBuilder

java.lang.Object
  extended by IncrementalProjectBuilder
      extended by org.aspectj.org.eclipse.jdt.internal.core.builder.JavaBuilder
Direct Known Subclasses:
AspectJBuilder

public class JavaBuilder
extends IncrementalProjectBuilder


Field Summary
static boolean DEBUG
           
 State lastState
           
protected  NameEnvironment nameEnvironment
           
protected  BuildNotifier notifier
           
static boolean SHOW_STATS
           
static java.lang.String SOURCE_ID
           
 
Constructor Summary
JavaBuilder()
           
 
Method Summary
protected  IProject[] build(int kind, java.util.Map ignored, IProgressMonitor monitor)
           
static void buildFinished()
          Hook allowing to reset some static state after a complete build iteration.
static void buildStarting()
          Hook allowing to initialize some static state before a complete build iteration.
protected  void clean(IProgressMonitor monitor)
           
protected  BuildNotifier createBuildNotifier(IProgressMonitor monitor, IProject currentProject)
           
protected  BatchImageBuilder getBatchImageBuilder(JavaBuilder instance, boolean b)
           
protected  IncrementalImageBuilder getIncrementalImageBuilder()
           
 State getLastState(IProject project)
           
static IMarker[] getProblemsFor(IResource resource)
           
static IMarker[] getTasksFor(IResource resource)
           
static State readState(IProject project, java.io.DataInputStream in)
           
static void removeProblemsAndTasksFor(IResource resource)
           
static void removeProblemsFor(IResource resource)
           
static void removeTasksFor(IResource resource)
           
 java.lang.String toString()
          String representation for debugging purposes
static void writeState(java.lang.Object state, java.io.DataOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nameEnvironment

protected NameEnvironment nameEnvironment

lastState

public State lastState

notifier

protected BuildNotifier notifier

SOURCE_ID

public static final java.lang.String SOURCE_ID
See Also:
Constant Field Values

DEBUG

public static boolean DEBUG

SHOW_STATS

public static boolean SHOW_STATS
Constructor Detail

JavaBuilder

public JavaBuilder()
Method Detail

getProblemsFor

public static IMarker[] getProblemsFor(IResource resource)

getTasksFor

public static IMarker[] getTasksFor(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(IResource resource)

removeTasksFor

public static void removeTasksFor(IResource resource)

removeProblemsAndTasksFor

public static void removeProblemsAndTasksFor(IResource resource)

readState

public static State readState(IProject project,
                              java.io.DataInputStream in)
                       throws java.io.IOException
Throws:
java.io.IOException

writeState

public static void writeState(java.lang.Object state,
                              java.io.DataOutputStream out)
                       throws java.io.IOException
Throws:
java.io.IOException

build

protected IProject[] build(int kind,
                           java.util.Map ignored,
                           IProgressMonitor monitor)
                    throws CoreException
Throws:
CoreException

createBuildNotifier

protected BuildNotifier createBuildNotifier(IProgressMonitor monitor,
                                            IProject currentProject)

getBatchImageBuilder

protected BatchImageBuilder getBatchImageBuilder(JavaBuilder instance,
                                                 boolean b)

getIncrementalImageBuilder

protected IncrementalImageBuilder getIncrementalImageBuilder()

clean

protected void clean(IProgressMonitor monitor)
              throws CoreException
Throws:
CoreException

getLastState

public State getLastState(IProject project)

toString

public java.lang.String toString()
String representation for debugging purposes