1 14 15 package org.eclipse.jdt.core.compiler; 16 17 import org.eclipse.jdt.core.IJavaProject; 18 19 39 public abstract class CompilationParticipant { 40 41 public static int READY_FOR_BUILD = 1; 42 public static int NEEDS_FULL_BUILD = 2; 43 44 55 public int aboutToBuild(IJavaProject project) { 56 return READY_FOR_BUILD; 57 } 58 59 68 public void buildStarting(BuildContext[] files, boolean isBatch) { 69 } 71 72 78 public void cleanStarting(IJavaProject project) { 79 } 81 82 93 public boolean isActive(IJavaProject project) { 94 return false; 95 } 96 97 104 public boolean isAnnotationProcessor() { 105 return false; 106 } 107 108 115 public void processAnnotations(BuildContext[] files) { 116 } 118 119 130 public void reconcile(ReconcileContext context) { 131 } 133 134 } 135 | Popular Tags |