mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 08:20:55 +07:00
10 lines
217 B
Java
10 lines
217 B
Java
// "Make annotation applicable to fields" "true-preview"
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Target({ElementType.FIELD,})
|
|
@interface Foo {}
|
|
|
|
class Main {
|
|
@Foo int x = 42;
|
|
} |