blob: 027917012f058e4e9c10a4570d543b4d82f93b3e [file]
package two
@Target(AnnotationTarget.PROPERTY)
annotation class PropertyExplicitly
@Target(AnnotationTarget.PROPERTY)
annotation class PropertyImplicitly
@Target(AnnotationTarget.FIELD)
annotation class FieldExplicitly
@Target(AnnotationTarget.FIELD)
annotation class FieldImplicitly
enum class AnnotationsOnEnumEntry(i: Int = 1) {
@PropertyImplicitly
@FieldImplicitly
@field:FieldExplicitly
EntryWithoutConstructor,
@PropertyImplicitly
@FieldImplicitly
EntryWithConstructor(5),
EntryWithConstructor2(6);
fun foo() = Unit
}
// LIGHT_ELEMENTS_NO_DECLARATION: AnnotationsOnEnumEntry.class[getEntries;valueOf;values]