Kapt3: Generate empty body for constructor and void methods

This commit is contained in:
Yan Zhulanow
2016-10-26 00:29:18 +03:00
committed by Yan Zhulanow
parent 4305706c16
commit 666a522fed
3 changed files with 10 additions and 3 deletions
+3 -1
View File
@@ -1 +1,3 @@
data class User(val firstName: String, val secondName: String, val age: Int)
data class User(val firstName: String, val secondName: String, val age: Int) {
fun procedure() {}
}
+3 -1
View File
@@ -3,6 +3,9 @@ public final class User {
private final java.lang.String secondName;
private final int age;
public final void procedure() {
}
public final java.lang.String getFirstName() {
return null;
}
@@ -16,7 +19,6 @@ public final class User {
}
public void User(java.lang.String firstName, java.lang.String secondName, int age) {
return null;
}
public final java.lang.String component1() {