JHotDraw 7.5.1

org.jhotdraw.annotations
Annotation Type NotNull


@Documented
@Target(value={TYPE,METHOD,FIELD,PARAMETER,LOCAL_VARIABLE})
public @interface NotNull

An element annotated with NotNull claims null value is forbidden to return (for methods), pass to (parameters) and hold (local variables and fields).

If annotated on a type (class or interface), NotNull is established as the default for all contained elements.

Note: This annotation is similar to org.jetbrains.annotations.NotNull, but allows declaration on types.

Version:
$Id: NotNull.java 666 2010-07-28 19:11:46Z rawcoder $
Author:
Werner Randelshofer


Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.