[java] highlights default package references in module-info.java files (IDEA-181405)

This commit is contained in:
Roman Shevchenko
2017-11-02 11:39:42 +01:00
parent ee1ca768ff
commit 24ae1022e4
8 changed files with 79 additions and 55 deletions
@@ -1,19 +0,0 @@
import static <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.*;
import <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>;
import <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.Inner;
import static <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.Inner.*;
import static <error descr="Cannot resolve symbol 'MyConstants'">MyConstants</error>.Inner.INNER_CONSTANT;
class MyClient
{
private int field = MyConstants.CONSTANT;
}
class MyConstants
{
public static final int CONSTANT = 1;
public static class Inner {
public static final String INNER_CONSTANT = "const";
}
}