void () { VirtualFile firstModuleInfo = moduleInfo("@Deprecated module first {requires second;}", ModuleDescriptor.MAIN); VirtualFile secondModuleInfo = moduleInfo("@Deprecated module second {}", ModuleDescriptor.M2); testJavaModule("@Deprecated module second {}", firstModuleInfo, secondModuleInfo); }