Class PackageWarningSuppressor

java.lang.Object
edu.umd.cs.findbugs.WarningSuppressor
edu.umd.cs.findbugs.PackageWarningSuppressor
All Implemented Interfaces:
Matcher

public class PackageWarningSuppressor extends WarningSuppressor
  • Constructor Details

    • PackageWarningSuppressor

      public PackageWarningSuppressor(String bugPattern, String packageName)
  • Method Details

    • getPackageName

      public String getPackageName()
    • match

      public boolean match(BugInstance bugInstance)
      Description copied from interface: Matcher
      Determine whether or not the given BugInstance has the feature this Matcher tests for.
      Specified by:
      match in interface Matcher
      Overrides:
      match in class WarningSuppressor
      Parameters:
      bugInstance - the BugInstance
      Returns:
      true if the BugInstance matches, false if not