Package edu.umd.cs.findbugs.annotations
Annotation Type CreatesObligation
-
@Documented @Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR}) public @interface CreatesObligation
Mark a constructor or method as creating a resource which requires cleanup. The marked method must be a member of a class marked with the CleanupObligation annotation.- Author:
- David Hovemeyer