mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
disprefer com.* and net.* packages in jdk
This commit is contained in:
@@ -34,6 +34,8 @@ public class KnownElementWeigher extends ProximityWeigher {
|
||||
if (qname != null) {
|
||||
if (qname.startsWith("java.")) return 2;
|
||||
if (qname.startsWith("javax.")) return 1;
|
||||
if (qname.startsWith("com.")) return -1;
|
||||
if (qname.startsWith("net.")) return -1;
|
||||
}
|
||||
}
|
||||
if (element instanceof PsiMethod) {
|
||||
|
||||
Reference in New Issue
Block a user