Load JSR-305 annotations for libraries if it's enabled for any module

#KT-19303 Fixed
This commit is contained in:
Dmitry Jemerov
2017-08-01 19:38:04 +02:00
parent 4ca8d3d6cf
commit b423d58a14
12 changed files with 153 additions and 23 deletions
@@ -0,0 +1,17 @@
package foo;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.annotation.Nonnull;
import javax.annotation.CheckForNull;
import javax.annotation.meta.TypeQualifierDefault;
@Retention(RetentionPolicy.RUNTIME)
@Documented
@CheckForNull
@TypeQualifierDefault({ElementType.FIELD})
public @interface FieldsAreNullable {
}