Class SpecificModeInterference
java.lang.Object
com.palantir.gradle.suppressibleerrorprone.modes.common.SpecificModeInterference
- All Implemented Interfaces:
ModeInterference
This is a helper class when there are just a set of
Modes that always interfere with each other, to
reduce some Set logic overhead.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ModeInterferenceResultinterferesWith(Set<ModeName> modeNames) Identify which of the flags interfere with each other.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ModeInterference
interfere
-
Constructor Details
-
SpecificModeInterference
public SpecificModeInterference()
-
-
Method Details
-
interferingModes
-
interferesWith
Description copied from interface:ModeInterferenceIdentify which of the flags interfere with each other.- Specified by:
interferesWithin interfaceModeInterference- Parameters:
modeNames- The flags that are enabled in this run- Returns:
- Either no interference, the flags that interfere with each other, or why they are incompatible
-