Skip to content

Instantly share code, notes, and snippets.

@edvin
edvin / kotlinillegalclassname.kt
Last active July 19, 2016 13:13
Kotlin app that creates illegal class names failing the test in Class.getSimpleName()
package sample
import javafx.application.Application
import javafx.collections.FXCollections
import javafx.scene.Scene
import javafx.scene.control.ListCell
import javafx.scene.control.ListView
import javafx.stage.Stage
import javafx.util.Callback
package controller
import models.User
import tornadofx.Controller
import tornadofx.Rest
class GitHub : Controller() {
val api : Rest by inject()
init {
package loginapp.app
import loginapp.views.LoginScreen
import tornadofx.App
class LoginApp : App(LoginScreen::class)