Descriptors from library source should be visible from descriptors from libraries class files

This commit is contained in:
Natalia Ukhorskaya
2016-03-16 16:49:16 +03:00
parent 5b489d1986
commit 6752d0f180
6 changed files with 38 additions and 0 deletions
@@ -237,6 +237,10 @@ internal data class LibrarySourceInfo(val project: Project, val library: Library
return listOf(this) + LibraryInfo(project, library).dependencies()
}
override fun modulesWhoseInternalsAreVisible(): Collection<ModuleInfo> {
return listOf(LibraryInfo(project, library))
}
override fun toString() = "LibrarySourceInfo(libraryName=${library.name})"
}