Files
openide/java/java-tests/testData/codeInsight/completion/reflection/ClassForNameInvalidPackage.java
T
Tagir Valeev 0c7edc2939 IDEA-168309 Completion inside Class.forName starts suggesting root packages again when something unknown entered
1. getCompletionContext() should not return root packages if context reference is present but cannot be resolved
2. InstanceofExpressionPostfixTemplate should not be available inside the string literals

GitOrigin-RevId: ad08e280cec09ddb6896c9d358c41cfc68b2cb8e
2019-05-21 15:11:13 +03:00

5 lines
111 B
Java

class Main {
void foo() throws ReflectiveOperationException {
Class.forName("com.foooooo.<caret>");
}
}