Introduced a NonNull annotation to generate null-checks

This commit is contained in:
Roel Spilker committed 2009-08-01 02:52:16 +02:00
1 parent dd593a3af0
commit 388943a7e3
1 file changed
+12
+12
View File
@@ -0,0 +1,12 @@
package lombok;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
@Retention(RetentionPolicy.CLASS)
public @interface NonNull {
}