diff --git a/java/java-tests/testSrc/com/intellij/java/propertyBased/JavaIntentionPolicy.java b/java/java-tests/testSrc/com/intellij/java/propertyBased/JavaIntentionPolicy.java index f440251aebbf..0e149f98573c 100644 --- a/java/java-tests/testSrc/com/intellij/java/propertyBased/JavaIntentionPolicy.java +++ b/java/java-tests/testSrc/com/intellij/java/propertyBased/JavaIntentionPolicy.java @@ -54,6 +54,7 @@ class JavaIntentionPolicy extends IntentionPolicy { actionText.startsWith("Cast to ") || // produces uncompilable code by design actionText.startsWith("Unwrap 'else' branch (changes semantics)") || // might produce code with final variables are initialized several times actionText.startsWith("Create missing 'switch' branches") || // if all existing branches do 'return something', we don't automatically generate compilable code for new branches + actionText.matches("Make .* default") || // can make interface non-functional and its lambdas incorrect actionText.startsWith("Unimplement"); // e.g. leaves red references to the former superclass methods }