def compile()

in src/main/scala/kotlin/KotlinCompile.scala [290:298]


  def compile(args: AnyRef): Boolean = {
    val compiler = compilerClass.getDeclaredConstructor().newInstance()
    val result = compilerExec.invoke(compiler,
      messageCollector, servicesEmptyField.get(null), args: java.lang.Object)
    result.toString match {
      case "COMPILATION_ERROR" | "INTERNAL_ERROR" => false
      case _ => true
    }
  }