edu.umd.cs.findbugs.annotations
public @Interface CreatesObligation
extends Annotation
- Annotations
- @Documented
- @Retention:RUNTIME
- @Target:METHOD, CONSTRUCTOR
- Imports
- java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target
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