@Documented
@Retention(value=RUNTIME)
@Target(value={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