@Nullable
 @Override
 public KevAnnotationProcessorBeforeRunTask createTask(RunConfiguration runConfiguration) {
   if (runConfiguration instanceof KevScriptRunConfiguration) {
     System.out.println(
         "KevScriptBeforeTask createTask for RunConfig:" + runConfiguration.getClass());
     return new KevAnnotationProcessorBeforeRunTask(
         ID,
         runConfiguration,
         ((KevScriptRunConfiguration) runConfiguration).getConfigurationModule().getModule());
   }
   System.out.println("KevScriptBeforeTask null");
   return null;
 }
Exemplo n.º 2
0
 private Method getMethod(RunConfiguration configuration) throws NoSuchMethodException {
   return configuration.getClass().getMethod("make", Project.class);
 }