Files
kotlin/compiler/testData/compileKotlinAgainstJava/AnnotationWithArguments.txt
baratynskiy 5eea3b6569 Introduce experimental -Xuse-javac compilation mode
In this mode, javac AST and Symbol files are used during
Kotlin compilation instead of PSI / binary stuff.
Later, they are reused for Java file compilation.
javac in this mode is integrated into kotlinc.
2017-05-17 17:48:17 +03:00

16 lines
652 B
Plaintext
Vendored

package test
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FILE}) public final annotation class AnnotationWithArguments : kotlin.Annotation {
public constructor AnnotationWithArguments(/*0*/ kotlin.String, /*1*/ kotlin.String = ...)
public final val arg: kotlin.String
public final val name: kotlin.String
}
@test.AnnotationWithArguments(name = "withDefault") public final class ClassWithDefault {
public constructor ClassWithDefault()
}
@test.AnnotationWithArguments(arg = "non", name = "withoutDefault") public final class ClassWithoutDefault {
public constructor ClassWithoutDefault()
}