Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/valuebased/quickfix/afterSuppressEnclosingClassFromMethod.java
Alexey Kudravtsev 67f7db108e fix syntax errors in test files to make sure we are testing the correct thing
GitOrigin-RevId: 09bf5fde01489c9edbc233e586fe7137f7e3fe9b
2023-09-26 13:04:00 +00:00

15 lines
226 B
Java

// "Suppress for class" "true"
@SuppressWarnings("synchronization")
class Main {
final OpenValueBased vb = new OpenValueBased();
void f(){
synchronized(vb){ }
}
}
@jdk.internal.ValueBased
class OpenValueBased {}