Top Description Methods
org.checkerframework.common.aliasing.qual

public @Interface NonLeaked

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:TYPE_USE
@SubtypeOf
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.checkerframework.framework.qual.SubtypeOf

This annotation is used on a formal parameter to indicate that the parameter is not leaked (stored in a location that could be accessed later) nor returned by the method body.

For example, the parameter of String#String(String s) is @NonLeaked, because the method only uses the parameter to make a copy of it.

This annotation is currently trusted, not checked.

See Also
LeakedToResult

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString