mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
support Class<?> in loggers (IDEA-105064)
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
public class Foo {
|
||||
public static final Logger LOG = Logger.getInstance(<caret>)
|
||||
}
|
||||
|
||||
class Logger {
|
||||
static Logger getInstance(Class<?> c) {}
|
||||
}
|
||||
+3
@@ -314,6 +314,9 @@ public class SmartTypeCompletionOrderingTest extends CompletionSortingTestCase {
|
||||
public void testGetLogger() {
|
||||
checkPreferredItems 0, 'Foo.class', 'forName'
|
||||
}
|
||||
public void testGetWildcardLogger() {
|
||||
checkPreferredItems 0, 'Foo.class', 'forName'
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getBasePath() {
|
||||
|
||||
Reference in New Issue
Block a user