00001 package jvn; 00002 00003 /*** 00004 * Annotation class : used for trying annotations on parameters and methods 00005 * 00006 * @author Lionel DEBROUX, http://lionel.debroux.free.fr 00007 * @author Savas Ali TOKMEN, http://ali.tokmen.com 00008 */ 00009 00010 import java.lang.annotation.Retention; 00011 import java.lang.annotation.RetentionPolicy; 00012 import java.lang.annotation.Target; 00013 import java.lang.annotation.ElementType; 00014 00015 @Target(value={ElementType.METHOD,ElementType.FIELD,ElementType.CONSTRUCTOR,ElementType.PARAMETER,ElementType.TYPE}) 00016 @Retention(RetentionPolicy.RUNTIME) 00017 public @interface NotNull 00018 { 00019 // int value() default 0; 00020 }