Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/valuebased/quickfix/beforeSuppressEnclosingMethodFromAnonymousClass.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

17 lines
258 B
Java

// "Suppress for method" "true"
class Main {
final OpenValueBased vb = new OpenValueBased(){};
void f(){
new OpenValueBased() {
{
synchronized (<caret>vb){ }
}
};
}
}
@jdk.internal.ValueBased
interface OpenValueBased { }