left side must be something that can be assigned to cannot write to a field in a box function receiver type is not a subtype of target type A note on compiler versions You’ve ...
Creating Custom Features note Creating Custom Features note This help topic is in development and will be updated in the future. You can develop your own features and...
Local Error Handling Local Error Handling For example the following method will handling JSON parse exceptions from Jackson for the scope of the declaring controller: Local ex...
This 表达式 限定的 this This 表达式 为了表示当前的 接收者 我们使用 this 表达式: 在类 的成员中,this 指的是该类的当前对象。 在扩展函数 或者带有接收者的函数字面值 中,this 表示在点左侧传递的 接收者 参数。如果 this 没有限定符,它指的是最内层的包含它的作用域。要引用其他作用域中的 thi...
Java 与 Kotlin 中的可空性 Support for nullable types Platform types Support for definitely non-nullable types Checking the result of a function call Default values instead of null F...
Quarkus - Using Kotlin Prerequisites Creating the Maven project Update code Important Maven configuration points Important Gradle configuration points CDI @Inject with Kotlin ...