mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
static import: postpone @deprecated methods if possible; show deprecated if all/acceptable is deprecated (IDEA-98350)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// "Static Import Method 'foo.B.aaaaaaa'" "false"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
{
|
||||
foo(1, 2, <caret>aaaaaaa(""));
|
||||
}
|
||||
|
||||
void foo(Integer... p) {}
|
||||
}
|
||||
|
||||
class B {
|
||||
@Deprecated
|
||||
public static Integer aaaaaaa(String s, String b) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
class B1 {
|
||||
public static String aaaaaaa(String s) {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user