Annotation Interface ResourcePresence


@Retention(RUNTIME) @Target(METHOD) public @interface ResourcePresence
Specifies a method that determines whether given resource-like class currently holds on to resources. The annotated method must not take parameters and must return a boolean, true indicating that a resource is present.