Kapt3: Generate incremental compilation metadata (light classes with Kotlin metadata)
This commit is contained in:
committed by
Yan Zhulanow
parent
aa84cc4911
commit
fdb568f86d
@@ -0,0 +1,55 @@
|
||||
package test;
|
||||
|
||||
public abstract @interface MyAnnotation {
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
package test;
|
||||
|
||||
public final class Simple {
|
||||
public static final test.Simple.Companion Companion = null;
|
||||
|
||||
@MyAnnotation()
|
||||
public final void myMethod() {
|
||||
}
|
||||
|
||||
public Simple() {
|
||||
super();
|
||||
}
|
||||
|
||||
public static final class NestedClass {
|
||||
|
||||
public NestedClass() {
|
||||
super();
|
||||
}
|
||||
|
||||
public static final class NestedNestedClass {
|
||||
|
||||
public NestedNestedClass() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final class InnerClass {
|
||||
|
||||
public InnerClass() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
package error;
|
||||
|
||||
public final class NonExistentClass {
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
internal class Simple {
|
||||
@MyAnnotation
|
||||
fun myMethod() {}
|
||||
|
||||
class NestedClass {
|
||||
class NestedNestedClass
|
||||
}
|
||||
|
||||
inner class InnerClass
|
||||
companion object
|
||||
}
|
||||
|
||||
internal annotation class MyAnnotation
|
||||
@@ -0,0 +1,4 @@
|
||||
MyMethodMyAnnotation.java:
|
||||
|
||||
package generated;
|
||||
class MyMethodMyAnnotation {}
|
||||
Reference in New Issue
Block a user