protected SuppressedState isSuppressed ( Suppressible suppressible , ErrorProneOptions errorProneOptions ) { boolean suppressedInGeneratedCode = errorProneOptions . disableWarningsInGeneratedCode ( ) && severityMap ( ) . get ( suppressible . canonicalName ( ) ) != SeverityLevel . ERROR ; return currentSuppressions . suppressedState ( suppressible , suppressedInGeneratedCode ) ; }
Returns if this checker should be suppressed on the current tree path .