Minor: remove some dead code

This commit is contained in:
Pavel V. Talanov
2016-02-04 16:30:58 +03:00
parent 909ced5fa2
commit f59a4c537e
4 changed files with 5 additions and 26 deletions
@@ -76,10 +76,6 @@ class CliLightClassGenerationSupport(project: Project) : LightClassGenerationSup
trace.setKotlinCodeAnalyzer(codeAnalyzer)
}
override fun getContextForPackage(files: Collection<KtFile>): LightClassConstructionContext {
return LightClassConstructionContext(bindingContext, module)
}
override fun getContextForClassOrObject(classOrObject: KtClassOrObject): LightClassConstructionContext {
//force resolve companion for light class generation
bindingContext.get(BindingContext.CLASS, classOrObject)?.companionObjectDescriptor