mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 18:20:52 +07:00
Otherwise, wrong class may be resolved in incomplete project model AnonymousHashCode.java changed, because java.lang.Object import was unresolved (no JDK configured) and we now refuse to resolve to same-package class if there's a suitable explicit import beforeHierarchy.java/afterHierarchy.java changed, because the import was incorrect, and it prevented importing implicit java.lang.Exception predicates2.java changed: incorrect import removed (now prevents importing java.lang.String) MoveInnerProcessor changes: import refs should be rebound first; otherwise they disallow to rebind normal refs SpringDataMongoDbQueryCompletionTest changed: erroneous import removed GitOrigin-RevId: f380409c445306bb9b8aceb5fe4dce1351511283
15 lines
1.2 KiB
Java
15 lines
1.2 KiB
Java
import <info descr="Not resolved until the project is fully loaded">com</info>.<info descr="Not resolved until the project is fully loaded">foo</info>.*;
|
|
import <info descr="Not resolved until the project is fully loaded">com</info>.<info descr="Not resolved until the project is fully loaded">bar</info>.*;
|
|
|
|
import java.util.*;
|
|
import <info descr="Not resolved until the project is fully loaded">com</info>.<info descr="Not resolved until the project is fully loaded">mypkg</info>.<info descr="Not resolved until the project is fully loaded">Timer</info>;
|
|
|
|
class Test {
|
|
void test() {
|
|
<info descr="Not resolved until the project is fully loaded">X</info>.<info descr="Not resolved until the project is fully loaded">m1</info>();
|
|
<info descr="Not resolved until the project is fully loaded">Y</info>.<info descr="Not resolved until the project is fully loaded">m2</info>();
|
|
|
|
System.out.println(<info descr="Not resolved until the project is fully loaded">Timer</info>.<info descr="Not resolved until the project is fully loaded">getSomething</info>());
|
|
System.out.println(java.util.Timer.<error descr="Cannot resolve method 'getSomething' in 'Timer'">getSomething</error>());
|
|
}
|
|
} |