Add @UnderMigration annotation and options for report level
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import javax.annotation.*;
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
import javax.annotation.meta.TypeQualifierNickname;
|
||||
import javax.annotation.meta.When;
|
||||
|
||||
import kotlin.annotations.jvm.*;
|
||||
|
||||
@Documented
|
||||
@TypeQualifierNickname
|
||||
@Nonnull(when = When.MAYBE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@UnderMigration(status = MigrationStatus.WARN)
|
||||
public @interface MyMigrationNullable {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user