Interface AbstractMustBeClosedChecker.FixAggregator

Enclosing class:
AbstractMustBeClosedChecker

protected static interface AbstractMustBeClosedChecker.FixAggregator
A strategy for handling and potentially combining multiple fixes.
  • Method Summary

    Modifier and Type Method Description
    Optional<SuggestedFix> flush()
    Returns a single fix containing all the changes saved up by earlier calls to report(TryBlock)
    Optional<SuggestedFix> report​(com.google.errorprone.bugpatterns.AbstractMustBeClosedChecker.TryBlock fix)
    Attempt to report a fix.