Java annotation with target "TYPE" is now applicable to Kotlin targets "CLASSIFIER" and "FILE"

This commit is contained in:
Mikhail Glukhikh
2015-09-02 18:14:37 +03:00
parent 699f1e0a70
commit 4e3bd10cd3
4 changed files with 4 additions and 3 deletions
@@ -55,6 +55,7 @@ public class AnnotationTargets {
// FILE: test/AnnotationTargets.kt
@file:AnnotationTargets.type
package test
import test.AnnotationTargets.*
@@ -64,7 +64,7 @@ package test {
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
kotlin.annotation.target(allowedTargets = {AnnotationTarget.CLASSIFIER}) public final class type : kotlin.Annotation {
kotlin.annotation.target(allowedTargets = {AnnotationTarget.CLASSIFIER, AnnotationTarget.FILE}) public final class type : kotlin.Annotation {
public constructor type()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int