mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
11 lines
272 B
Java
11 lines
272 B
Java
// "Join declaration and assignment" "GENERIC_ERROR_OR_WARNING"
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Target;
|
|
|
|
class C {
|
|
void foo() {
|
|
@A int n;
|
|
<caret>n = 1;
|
|
}
|
|
@Target(ElementType.LOCAL_VARIABLE) @interface A {}
|
|
} |