PackagePartClassUtils converted to Kotlin and refactored

This commit is contained in:
Dmitry Petrov
2015-08-19 17:45:30 +03:00
committed by Michael Bogdanov
parent e050ff3271
commit 5fdfe8df3c
6 changed files with 103 additions and 162 deletions
@@ -228,7 +228,7 @@ public class CliLightClassGenerationSupport extends LightClassGenerationSupport
// TODO We need a way to plug some platform-dependent stuff into LazyTopDownAnalyzer.
// It already performs some ad hoc stuff for packages->files mapping, anyway.
Collection<JetFile> filesInPackage = findFilesForPackage(facadeFqName.parent(), scope);
return PackagePartClassUtils.getFilesForFacade(facadeFqName, filesInPackage);
return PackagePartClassUtils.getFilesForPart(facadeFqName, filesInPackage);
}
@NotNull