14 lines
345 B
Java
Vendored
14 lines
345 B
Java
Vendored
package org.jetbrains.annotations;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
|
|
@Documented
|
|
@Retention(RetentionPolicy.CLASS)
|
|
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
|
|
public @interface NotNull {
|
|
String value() default "";
|
|
|
|
Class<? extends Exception> exception() default Exception.class;
|
|
}
|