@Documented @Retention(value=RUNTIME) @Target(value=TYPE_USE) @SubtypeOf(value={}) public @interface NonLeaked
For example, the parameter of String.String(String s)
is
@NonLeaked
, because
the method only uses the parameter to make a copy of it.
LeakedToResult