mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
18 lines
306 B
Java
18 lines
306 B
Java
package org.eclipse.jdt.annotation;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
@interface NonNullByDefault {}
|
|
@Target(ElementType.TYPE_USE)
|
|
@interface NonNull {}
|
|
|
|
@NonNullByDefault
|
|
class X {
|
|
void test() {
|
|
<selection>Y.getFoo()</selection>;
|
|
}
|
|
}
|
|
|
|
class Y {
|
|
static @NonNull String getFoo() { return null; }
|
|
} |