mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
10 lines
236 B
Java
10 lines
236 B
Java
// "Make annotation applicable to fields" "true-preview"
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Target({ElementType.FIELD, ElementType.METHOD})
|
|
@interface Foo {}
|
|
|
|
class Main {
|
|
@Foo int x = 42;
|
|
} |