use of org.jetbrains.jps.model.java.impl.compiler.ProcessorConfigProfileImpl in project intellij-community by JetBrains.
the class MavenAnnotationProcessorConfigurer method isSimilarProfiles.
private static boolean isSimilarProfiles(@Nullable ProcessorConfigProfile profile1, @Nullable ProcessorConfigProfile profile2) {
if (profile1 == null || profile2 == null)
return false;
ProcessorConfigProfileImpl p1 = new ProcessorConfigProfileImpl(profile1);
p1.setName("tmp");
p1.clearModuleNames();
ProcessorConfigProfileImpl p2 = new ProcessorConfigProfileImpl(profile2);
p2.setName("tmp");
p2.clearModuleNames();
return p1.equals(p2);
}
Aggregations