patterntesting.annotation.check.runtime
Annotation Type MayBeNull


@Documented
@Retention(value=RUNTIME)
@Target(value={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.1 $
Author:
oliver



Copyright © 2002–2014 PatternTesting Team. All rights reserved.