mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
add tests for completion with casts
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
interface InspectionManager {
|
||||
static InspectionManager getInstance() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
interface InspectionManagerEx extends InspectionManager {
|
||||
GlobalInspectionContext createContext();
|
||||
}
|
||||
interface GlobalInspectionContext {}
|
||||
|
||||
class Test {
|
||||
void m() {
|
||||
GlobalInspectionContext c = <caret>
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
interface InspectionManager {
|
||||
static InspectionManager getInstance() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
interface InspectionManagerEx extends InspectionManager {
|
||||
GlobalInspectionContext createContext();
|
||||
}
|
||||
interface GlobalInspectionContext {}
|
||||
|
||||
class Test {
|
||||
void m() {
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
((InspectionManagerEx)InspectionManager.getInstance()).createContext();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user