コード例 #1
0
 public void configure(IProjectConfigurationRequest request, IProgressMonitor monitor)
     throws Exception {
   if (isJavaProject(request.getProject())
       && isPreferenceEnabled(request.getProject())
       && shouldConfigureApt(request.getGradleModel())) {
     AptUtils.configureApt(JavaCore.create(request.getProject()));
   }
 }
コード例 #2
0
 protected boolean shouldConfigureApt(EclipseProject gradleModel) {
   return AptUtils.isAptEnabled(GradleCore.create(gradleModel).getJavaProject())
       || shouldEnableApt(gradleModel);
 }