Annotation Type MayBeNull
-
@Documented @Retention(RUNTIME) @Target({PARAMETER,FIELD}) public @interface MayBeNull
If one of an argument of a method can be null you can use this annotation to mark it.You can also mark fields with this annotation but this is at the moment not evaluated. But you can use it for documentation purposes.
- Since:
- 15.06.2009
- Version:
- $Revision: 1.5 $
- Author:
- oliver