1 /*
2 * Copyright (c) 2002-2012, the original author or authors.
3 *
4 * This software is distributable under the BSD license. See the terms of the
5 * BSD license in the documentation provided with this software.
6 *
7 * http://www.opensource.org/licenses/bsd-license.php
8 */
9 package jline.internal;
10
11 import java.lang.annotation.*;
12
13 /**
14 * Marker for reference which can be a null value.
15 *
16 * @since 2.7
17 */
18 @Documented
19 @Retention(RetentionPolicy.CLASS)
20 @Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
21 public @interface Nullable
22 {
23 String value() default "";
24 }
|
1 /*
2 * Copyright (c) 2002-2012, the original author or authors.
3 *
4 * This software is distributable under the BSD license. See the terms of the
5 * BSD license in the documentation provided with this software.
6 *
7 * http://www.opensource.org/licenses/bsd-license.php
8 */
9 package jdk.internal.jline.internal;
10
11 import java.lang.annotation.*;
12
13 /**
14 * Marker for reference which can be a null value.
15 *
16 * @since 2.7
17 */
18 @Documented
19 @Retention(RetentionPolicy.CLASS)
20 @Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
21 public @interface Nullable
22 {
23 String value() default "";
24 }
|