Class SuppressWarningsPrefixTest.EnclosingParentChecker

All Implemented Interfaces:
Processor, OptionConfiguration
Enclosing class:
SuppressWarningsPrefixTest

@SuppressWarningsPrefix("parentprefix") public static final class SuppressWarningsPrefixTest.EnclosingParentChecker extends SourceChecker
Parent compound checker.
  • Constructor Details

    • EnclosingParentChecker

      public EnclosingParentChecker(List<SourceChecker> subcheckers)
      Creates an EnclosingParentChecker 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)
    • createSourceVisitor

      protected SourceVisitor<?,?> createSourceVisitor()
      Description copied from class: SourceChecker
      Provides the SourceVisitor that the checker should use to scan input source trees.
      Specified by:
      createSourceVisitor in class SourceChecker
      Returns:
      a SourceVisitor to use to scan source trees