J2K ImportPath: kotlinify

This commit is contained in:
Pavel V. Talanov
2017-02-13 13:16:11 +03:00
parent 50d0f5bde6
commit babb3b557d
16 changed files with 45 additions and 77 deletions
@@ -28,8 +28,8 @@ object JvmPlatform : TargetPlatform("JVM") {
override fun getDefaultImports(languageVersionSettings: LanguageVersionSettings): List<ImportPath> = ArrayList<ImportPath>().apply {
addAll(Default.getDefaultImports(languageVersionSettings))
add(ImportPath("java.lang.*"))
add(ImportPath("kotlin.jvm.*"))
add(ImportPath.fromString("java.lang.*"))
add(ImportPath.fromString("kotlin.jvm.*"))
fun addAllClassifiersFromScope(scope: MemberScope) {
for (descriptor in scope.getContributedDescriptors(DescriptorKindFilter.CLASSIFIERS, MemberScope.ALL_NAME_FILTER)) {