Removed attempt to import kotlin.jvm.JvmStatic which is not needed anyway
This commit is contained in:
@@ -413,11 +413,8 @@ class Converter private constructor(
|
|||||||
if (function == null) return null
|
if (function == null) return null
|
||||||
|
|
||||||
if (PsiMethodUtil.isMainMethod(method)) {
|
if (PsiMethodUtil.isMainMethod(method)) {
|
||||||
val fqName = FqName("kotlin.jvm.JvmStatic")
|
|
||||||
val identifier = Identifier(fqName.shortName().identifier, imports = listOf(fqName)).assignNoPrototype()
|
|
||||||
|
|
||||||
function.annotations += Annotations(
|
function.annotations += Annotations(
|
||||||
listOf(Annotation(identifier,
|
listOf(Annotation(Identifier("JvmStatic").assignNoPrototype(),
|
||||||
listOf(),
|
listOf(),
|
||||||
newLineAfter = false).assignNoPrototype())).assignNoPrototype()
|
newLineAfter = false).assignNoPrototype())).assignNoPrototype()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user