org.checkerframework.checker.lock.qual
public @Interface MayReleaseLocks
extends Annotation
- Annotations
- @Documented
- @Retention:RUNTIME
- @Target:METHOD, CONSTRUCTOR
- @InheritedAnnotation
- Imports
- java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.checkerframework.framework.qual.InheritedAnnotation
The method, or one of the methods it calls, might release locks that were held prior to the
method being called. You can write this when you are certain the method releases locks, or when
you don't know whether the method releases locks.
- See Also
ReleasesNoLocks, LockingFree, org.checkerframework.dataflow.qual.SideEffectFree, org.checkerframework.dataflow.qual.Pure