org.netbeans.api.annotations.common/1 1.5.1

org.netbeans.api.annotations.common
Annotation Type NullUnknown


@Documented
@Target(value={FIELD,METHOD,PARAMETER,LOCAL_VARIABLE})
@Retention(value=CLASS)
public @interface NullUnknown

The annotated element might be null under certain defined circumstances. The necessity of the non-null check depends on situations described in the javadoc (so the non-null check is not required by default).

Consider Map.get(java.lang.Object) as an example of such a method - depending on usage of the Map null may be legal or forbidden.


org.netbeans.api.annotations.common/1 1.5.1

Built on September 19 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.