Files
kotlin-fork/plugins/lombok/testData/compile/configAccessors.kt
T
Dmitriy Novozhilov c2bf68c9d3 [Lombok] Reorganize module structure of Lombok compiler plugin
Also rename its jar to `kotlin-lombok-compiler-plugin`

^KT-52468 Fixed
2022-06-07 14:12:19 +00:00

34 lines
554 B
Kotlin
Vendored

//FILE: GetterTest.java
import lombok.*;
@Getter @Setter
public class GetterTest {
private String name;
private int age;
static void test() {
val obj = new GetterTest();
GetterTest ref = obj.name("some").age(34);
obj.name();
obj.age();
}
}
//FILE: test.kt
class Test {
fun run() {
val obj = GetterTest()
val ref: GetterTest = obj.name("some").age(34)
obj.name()
obj.age()
}
}
//FILE: lombok.config
lombok.accessors.fluent=true
//lombok.accessors.chain=false