Class MustBeClosedChecker

All Implemented Interfaces:
BugChecker.ClassTreeMatcher, BugChecker.MethodTreeMatcher, Suppressible, Serializable

public class MustBeClosedChecker extends AbstractMustBeClosedChecker implements BugChecker.MethodTreeMatcher, BugChecker.ClassTreeMatcher
Checks if a constructor or method annotated with MustBeClosed is called within the resource variable initializer of a try-with-resources statement.
See Also: