New J2K: Create services for new j2k

This commit is contained in:
Simon Ogorodnik
2018-06-16 20:08:29 +03:00
committed by Ilya Kirillov
parent 9d3805defe
commit e4fc4b8218
2 changed files with 16 additions and 0 deletions
@@ -58,4 +58,10 @@ private object IdeaJavaDataFlowAnalyzerFacade : JavaDataFlowAnalyzerFacade {
IntellijNullability.NOT_NULL -> Nullability.NotNull
IntellijNullability.NULLABLE -> Nullability.Nullable
}
}
object IdeaNewJavaToKotlinServices : NewJavaToKotlinServices {
override val oldServices: JavaToKotlinConverterServices
get() = IdeaJavaToKotlinServices
}
@@ -0,0 +1,10 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.j2k
interface NewJavaToKotlinServices {
val oldServices: JavaToKotlinConverterServices
}