Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/joinDeclaration/beforeAnnotated.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 {}
}