edu.umd.cs.findbugs.annotations
Annotation Type CreatesObligation


@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.



Copyright © 2011. All Rights Reserved.