コード例 #1
0
 /**
  * Inform the environment that a new non-Java file has been generated. This file will not be
  * submitted to a subsequent round of processing in the current build, even if the file happens to
  * be in a source location and named with a Java-like name. However, its dependencies will be
  * tracked in the same manner as Java files, e.g., it will be deleted if changes in source cause
  * it to no longer be generated.
  *
  * @param file must be non-null
  */
 public void addNewResource(IFile file) {
   AptCompilationParticipant.getInstance().addJava6GeneratedFile(file);
 }
コード例 #2
0
 /**
  * Inform the environment that a new Java file has been generated.
  *
  * @param result must be non-null
  */
 public void addNewUnit(FileGenerationResult result) {
   AptCompilationParticipant.getInstance().addJava6GeneratedFile(result.getFile());
   addNewUnit(_dispatchManager.findCompilationUnit(result.getFile()));
 }