Class SuppressWarningsPrefixTest.OverridingParentChecker

All Implemented Interfaces:
Processor, OptionConfiguration
Enclosing class:
SuppressWarningsPrefixTest

@SuppressWarningsPrefix("overriddenparent") public static class SuppressWarningsPrefixTest.OverridingParentChecker extends SuppressWarningsPrefixTest.GrandparentPrefixChecker
Parent checker that explicitly overrides its superclass prefix.
  • Constructor Details

    • OverridingParentChecker

      public OverridingParentChecker(List<SourceChecker> subcheckers)
      Creates an OverridingParentChecker with given subcheckers.
      Parameters:
      subcheckers - the subcheckers
  • Method Details

    • getSubcheckers

      public List<SourceChecker> getSubcheckers()
      Description copied from class: SourceChecker
      Returns the list of all subcheckers (if any). This list is only non-empty for the one checker that runs all other subcheckers. These are recursively instantiated via instantiateSubcheckers() the first time this method is called if field subcheckers is null. Assumes all checkers run on the same thread.
      Overrides:
      getSubcheckers in class SourceChecker
      Returns:
      the list of all subcheckers (if any)