Files
2017-09-25 12:32:08 +03:00

24 lines
1.0 KiB
Java

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();
}
}