in src/main/kotlin/com/compiler/server/compiler/components/KotlinCompiler.kt [185:192]
override fun visitMethod(
access: Int, name: String?, descriptor: String?, signature: String?, exceptions: Array<out String>?
): MethodVisitor? {
if (name == "main" && descriptor == "([Ljava/lang/String;)V" && (access and ACC_PUBLIC != 0) && (access and ACC_STATIC != 0)) {
hasMain = true
}
return null
}