mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
10 lines
224 B
Java
10 lines
224 B
Java
// "Make annotation applicable to fields" "true-preview"
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Target({ElementType.METHOD})
|
|
@interface Foo {}
|
|
|
|
class Main {
|
|
@Foo<caret> int x = 42;
|
|
} |