Stub generation infrastructure (except for metadata generation) for KAPT+K2
This commit includes the basic Java stubs generation infrastructure and the corresponding tests. The main entry point is called Kapt4StubGenerator. Calls to it from production code will be added in a separate commit. #KT-51982
This commit is contained in:
committed by
Space Team
parent
ae4fab8483
commit
2002542ad2
+233
@@ -0,0 +1,233 @@
|
||||
@kotlin.Metadata()
|
||||
public final class Boo {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Boo INSTANCE = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final java.lang.String z = null;
|
||||
|
||||
private Boo() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getZ() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String foo() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public final class Foo {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Foo INSTANCE = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String aString = "foo";
|
||||
public static final int aInt = 3;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final java.lang.String bString = "bar";
|
||||
private static final int bInt = 5;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String cString = "baz";
|
||||
private static int cInt = 7;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final java.lang.String d = null;
|
||||
private static final int e = 0;
|
||||
private static final int f = 8;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final java.lang.String g = "ab";
|
||||
private static final int h = -4;
|
||||
private static final int i = 2147483647;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final java.lang.String j = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final java.lang.String k = null;
|
||||
|
||||
private Foo() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getBString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final int getBInt() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getCString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setCString(@org.jetbrains.annotations.NotNull()
|
||||
java.lang.String p0) {
|
||||
}
|
||||
|
||||
public final int getCInt() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final void setCInt(int p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getD() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final int getE() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final int getF() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getG() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final int getH() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final int getI() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getJ() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getK() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public final class HavingState {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final State state = State.START;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final State[] stateArray = {State.START};
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String[] stringArray = {"foo"};
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.util.List<java.lang.String> stringList = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.Integer[] intArray = {1};
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final float[] floatArray = {-1.0F};
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.util.List<java.lang.Integer> intList = null;
|
||||
private final int uint = 1;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final kotlin.UInt[] uintArray = {1};
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.util.List<kotlin.UInt> uintList = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final kotlin.reflect.KClass<State> clazz = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.Class<State> javaClass = null;
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final kotlin.reflect.KClass<? extends java.lang.Object> anonymous = null;
|
||||
|
||||
public HavingState() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final State getState() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final State[] getStateArray() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String[] getStringArray() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.List<java.lang.String> getStringList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.Integer[] getIntArray() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final float[] getFloatArray() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.List<java.lang.Integer> getIntList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final int getUint() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final kotlin.UInt[] getUintArray() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.List<kotlin.UInt> getUintList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final kotlin.reflect.KClass<State> getClazz() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.Class<State> getJavaClass() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final kotlin.reflect.KClass<? extends java.lang.Object> getAnonymous() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public enum State {
|
||||
/*public static final*/ START /* = new State() */,
|
||||
/*public static final*/ FINISH /* = new State() */;
|
||||
|
||||
State() {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static kotlin.enums.EnumEntries<State> getEntries() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user