|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.compiler.CompilationParticipant
org.jmlspecs.eclipse.jdt.ui.EscjavaCompilationParticipant
public class EscjavaCompilationParticipant
This class is intended as an Eclipse CompilationParticipant, but so far it does not work. There is some problem with loading this class in response to using the plugin extension.
Field Summary |
---|
Fields inherited from class org.eclipse.jdt.core.compiler.CompilationParticipant |
---|
NEEDS_FULL_BUILD, READY_FOR_BUILD |
Constructor Summary | |
---|---|
EscjavaCompilationParticipant()
|
Method Summary | |
---|---|
int |
aboutToBuild(IJavaProject project)
Notifies this participant that a build is about to start and provides it the opportunity to create missing source folders for generated source files. |
void |
buildStarting(BuildContext[] files,
boolean isBatch)
Notifies this participant that a compile operation is about to start and provides it the opportunity to generate source files based on the source files about to be compiled. |
void |
cleanStarting(IJavaProject project)
Notifies this participant that a clean is about to start and provides it the opportunity to delete generated source files. |
boolean |
isActive(IJavaProject project)
Returns whether this participant is active for a given project. |
boolean |
isAnnotationProcessor()
Returns whether this participant is interested in only Annotations. |
void |
processAnnotations(BuildContext[] files)
Notifies this participant that a compile operation has found source files using Annotations. |
void |
reconcile(ReconcileContext context)
Notifies this participant that a reconcile operation is happening. |
Methods inherited from class org.eclipse.jdt.core.compiler.CompilationParticipant |
---|
buildFinished |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EscjavaCompilationParticipant()
Method Detail |
---|
public int aboutToBuild(IJavaProject project)
CompilationParticipant
Default is to return READY_FOR_BUILD
.
aboutToBuild
in class CompilationParticipant
project
- the project about to build
CompilationParticipant.buildFinished(IJavaProject project)
public void buildStarting(BuildContext[] files, boolean isBatch)
CompilationParticipant
buildStarting
in class CompilationParticipant
files
- is an array of BuildContextisBatch
- identifies when the build is a batch buildpublic void cleanStarting(IJavaProject project)
CompilationParticipant
cleanStarting
in class CompilationParticipant
project
- the project about to be cleanedpublic boolean isActive(IJavaProject project)
CompilationParticipant
Default is to return false
.
For efficiency, participants that are not interested in the
given project should return false
for that project.
isActive
in class CompilationParticipant
project
- the project to participate in
public boolean isAnnotationProcessor()
CompilationParticipant
Default is to return false
.
isAnnotationProcessor
in class CompilationParticipant
public void processAnnotations(BuildContext[] files)
CompilationParticipant
processAnnotations
in class CompilationParticipant
files
- is an array of BuildContextpublic void reconcile(ReconcileContext context)
CompilationParticipant
Note that a participant should not modify the buffer of the working copy that is being reconciled.
Default is to do nothing.
reconcile
in class CompilationParticipant
context
- the reconcile context to act on
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |