void () { VirtualFile firstModuleInfo = moduleInfo("module first {requires second;}", ModuleDescriptor.MAIN); VirtualFile secondModuleInfo = moduleInfo("@Deprecated module second {}", ModuleDescriptor.M2); testJavaModule("@Deprecated module <warning descr=\"Deprecated member 'second' is still used\">second</warning> {}", firstModuleInfo, secondModuleInfo); }