Class AbstractMustBeClosedChecker

All Implemented Interfaces:
Suppressible, Serializable
Direct Known Subclasses:
MustBeClosedChecker, StreamResourceLeak

public abstract class AbstractMustBeClosedChecker
extends BugChecker
An abstract check for resources that must be closed; used by StreamResourceLeak and MustBeClosedChecker.
See Also:
Serialized Form
  • Field Details


      protected static final Matcher<com.sun.source.tree.Tree> HAS_MUST_BE_CLOSED_ANNOTATION
      Matches trees annotated with MustBeClosed.
  • Constructor Details

    • AbstractMustBeClosedChecker

      public AbstractMustBeClosedChecker()
  • Method Details