KT-30643 J2K: wrong position of TYPE_USE annotation (#2543)
New J2K: fix wrong position of TYPE_USE annotation #KT-30643 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
58f2348647
commit
4da7d11364
Vendored
+15
-1
@@ -4,6 +4,8 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Set;
|
||||
import kotlinApi.KotlinClassWithProperties;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
public @interface Anon1 {
|
||||
String[] value();
|
||||
@@ -127,4 +129,16 @@ public class JavaClass {
|
||||
|
||||
public @interface SpecialExternal {
|
||||
String[] names(); //array is used
|
||||
}
|
||||
}
|
||||
|
||||
@Target(ElementType.TYPE_USE)
|
||||
public @interface TypeUseAnon1 {
|
||||
}
|
||||
|
||||
@Target({ElementType.TYPE_USE})
|
||||
public @interface TypeUseAnon2 {
|
||||
}
|
||||
|
||||
@Target({ElementType.TYPE_USE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
|
||||
public @interface TypeUseAnon3 {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user