Skip to content

Commit

Permalink
Improve documentation of getSupportedCheckers() (typetools#6924)
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored Dec 17, 2024
1 parent 4d8fedb commit 1c8b2ab
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ public abstract class AggregateChecker extends SourceChecker {
protected AggregateChecker() {}

/**
* Returns the list of independent subcheckers to be run together. Subclasses need to override
* this method.
* Returns the list of independent subcheckers to be run together. An aggregate checker overrides
* this method to indicate its immediate subcheckers.
*
* @return the list of checkers to be run
* @return the list of immediate subcheckers checkers to be run
*/
// These are immediate subcheckers.
protected abstract Collection<Class<? extends SourceChecker>> getSupportedCheckers();

@Override
Expand Down

0 comments on commit 1c8b2ab

Please sign in to comment.