Files
kotlin/plugins/annotation-processing/testData/wrappers/javaWrappers/Simple.kt
Yan Zhulanow 238340a143 Kapt: Simplify wrapper tests
(cherry picked from commit 1677984)
2016-10-07 16:28:25 +03:00

36 lines
657 B
Kotlin
Vendored

// FQNAME: Simple
// FILE: Simple.java
@interface Anno {
String[] numbers();
}
@interface AnnoValue {
String[] value();
}
@KotlinAnnotation(a = "A", b = 5)
@Anno(numbers = { "five", "six" })
@AnnoValue({ "five", "six" })
public abstract class Simple {
@Anno(numbers = "seven")
@AnnoValue("seven")
final String field = "A";
abstract void voidMethod();
static {
System.out.println("A");
}
{
System.out.println("b");
}
protected String strMethod(int param) {
return "A";
}
}
// FILE: KotlinAnnotation.kt
annotation class KotlinAnnotation(val a: String, val b: Int)