Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-11-22 09:26:12 +0000
committerJay Arthanareeswaran2017-12-04 04:02:48 +0000
commit96daac89895127b49dbd48f9d6f4f30fcf904288 (patch)
treeeee978e5e35b95d691f313a1c3ec007823735932 /org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java
parent18c0039df928c8f4b078d8a8090860141f1b690f (diff)
downloadeclipse.jdt.core-96daac89895127b49dbd48f9d6f4f30fcf904288.tar.gz
eclipse.jdt.core-96daac89895127b49dbd48f9d6f4f30fcf904288.tar.xz
eclipse.jdt.core-96daac89895127b49dbd48f9d6f4f30fcf904288.zip
Bug 527597 - Please add @Override annotations for
org.eclipse.jdt.apt.core Change-Id: I23e9fec6ce8a0de0a3222153165758d7203121ea Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java')
-rw-r--r--org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java b/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java
index 25f0b81b12..3a0a7e7d87 100644
--- a/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java
+++ b/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/AptCompilationParticipant.java
@@ -85,10 +85,12 @@ public class AptCompilationParticipant extends CompilationParticipant
private AptCompilationParticipant() {
}
+ @Override
public boolean isAnnotationProcessor(){
return true;
}
+ @Override
public void buildStarting(BuildContext[] files, boolean isBatch){
// this gets called multiple times during a build.
// This gets called:
@@ -99,10 +101,12 @@ public class AptCompilationParticipant extends CompilationParticipant
_isBatch = isBatch;
}
+ @Override
public void buildFinished(IJavaProject project) {
buildComplete();
}
+ @Override
public void processAnnotations(BuildContext[] allfiles) {
// This should not happen. There should always be file that that needs
// building when
@@ -195,6 +199,7 @@ public class AptCompilationParticipant extends CompilationParticipant
}
}
+ @Override
public void reconcile(ReconcileContext context){
final ICompilationUnit workingCopy = context.getWorkingCopy();
if( workingCopy == null )
@@ -213,6 +218,7 @@ public class AptCompilationParticipant extends CompilationParticipant
APTDispatchRunnable.runAPTDuringReconcile(context, aptProject, factories);
}
+ @Override
public void cleanStarting(IJavaProject javaProject){
IProject p = javaProject.getProject();
@@ -235,10 +241,12 @@ public class AptCompilationParticipant extends CompilationParticipant
* Even if there are no processors on the factory path, apt may still
* be involved during a clean.
*/
+ @Override
public boolean isActive(IJavaProject project){
return AptConfig.isEnabled(project);
}
+ @Override
public int aboutToBuild(IJavaProject project) {
if (AptConfig.isEnabled(project)) {
// setup the classpath and make sure the generated source folder is on disk.

Back to the top