private static boolean isJavac(final JavaCompilingTool compilingTool) {
    return compilingTool != null && (compilingTool.getId().equals(JavaCompilers.JAVAC_ID) ||
                                     compilingTool.getId().equals(JavaCompilers.JAVAC_API_ID));
  }
private static boolean isJavac(final JavaCompilingTool compilingTool)