Kapt tests: minor, add some cases to properties.kt
To check that boolean "is" prefix is treated correctly, and Unit return type is not translated to void. `@Deprecated` annotations are added just so that the `$annotations` methods would also be generated.
This commit is contained in:
committed by
Space Team
parent
28e232f54f
commit
e700a38a87
@@ -9,6 +9,11 @@ public final class Test {
|
||||
private final java.lang.Class<?> constJavaClassValue = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final kotlin.reflect.KClass<?> constClassValue = null;
|
||||
@java.lang.Deprecated()
|
||||
private boolean isBoolean = false;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@java.lang.Deprecated()
|
||||
private kotlin.Unit unit;
|
||||
|
||||
public Test() {
|
||||
super();
|
||||
@@ -38,4 +43,32 @@ public final class Test {
|
||||
public final kotlin.reflect.KClass<?> getConstClassValue() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Deprecated()
|
||||
public final boolean isBoolean() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Deprecated()
|
||||
public static void isBoolean$annotations() {
|
||||
}
|
||||
|
||||
@java.lang.Deprecated()
|
||||
public final void setBoolean(boolean p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@java.lang.Deprecated()
|
||||
public final kotlin.Unit getUnit() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Deprecated()
|
||||
public static void getUnit$annotations() {
|
||||
}
|
||||
|
||||
@java.lang.Deprecated()
|
||||
public final void setUnit(@org.jetbrains.annotations.NotNull()
|
||||
kotlin.Unit p0) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user