mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Change the SQLite3Jni API annotations to use SOURCE retention (used only at compile-time).
FossilOrigin-Name: 3c3fea6bf284721ac376e2ab5a757cf30245dd39264aaf98a8d6cd5575484275
This commit is contained in:
@ -16,6 +16,7 @@ import java.nio.charset.StandardCharsets;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
|
||||
/**
|
||||
@ -25,7 +26,8 @@ import java.lang.annotation.ElementType;
|
||||
|
||||
This annotation is solely for the reader's information.
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Target(ElementType.PARAMETER)
|
||||
@interface Nullable{}
|
||||
|
||||
@ -39,7 +41,8 @@ import java.lang.annotation.ElementType;
|
||||
is in place to programmatically ensure that NotNull is conformed to
|
||||
in client code.
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Target(ElementType.PARAMETER)
|
||||
@interface NotNull{}
|
||||
|
||||
|
Reference in New Issue
Block a user