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
@@ -0,0 +1,53 @@
|
||||
@kotlin.Metadata()
|
||||
public abstract class BaseClass {
|
||||
|
||||
public BaseClass(@org.jetbrains.annotations.NotNull()
|
||||
Context context, int num, boolean bool) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract Result doJob();
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public abstract interface Context {
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public final class Inheritor extends BaseClass {
|
||||
|
||||
public Inheritor(@org.jetbrains.annotations.NotNull()
|
||||
Context context) {
|
||||
super(null, 0, false);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
@java.lang.Override()
|
||||
public Result doJob() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
|
||||
@kotlin.Metadata()
|
||||
public enum Result {
|
||||
/*public static final*/ SUCCESS /* = new Result() */,
|
||||
/*public static final*/ ERROR /* = new Result() */;
|
||||
|
||||
Result() {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static kotlin.enums.EnumEntries<Result> getEntries() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user