@Retention(value=RUNTIME) @Target(value={METHOD,PARAMETER,FIELD}) public @interface Owning
Method return types are treated as if they have this annotation by default unless their method
is annotated as NotOwning
.
When the -AnoLightweightOwnership command-line argument is passed to the checker, this
annotation and NotOwning
are ignored.