mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
32 lines
537 B
Java
Vendored
32 lines
537 B
Java
Vendored
// Simple
|
|
|
|
@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";
|
|
}
|
|
} |