Drop deprecated nested classes from Kotlin metadata annotations

This commit is contained in:
Alexander Udalov
2015-10-05 12:50:03 +03:00
parent 1497648093
commit 8c4d7fdf24
8 changed files with 7 additions and 45 deletions
@@ -32,19 +32,4 @@ public @interface KotlinClass {
String[] data();
String[] strings();
@Deprecated
Kind kind() default Kind.CLASS;
@Deprecated
enum Kind {
CLASS,
/**
* A class has kind LOCAL_CLASS if and only if it's not an anonymous object and its first non-class container is not a package.
*/
LOCAL_CLASS,
ANONYMOUS_OBJECT,
}
}
@@ -28,20 +28,4 @@ public @interface KotlinSyntheticClass {
int abiVersion();
int[] version() default {};
@Deprecated
Kind kind() default Kind.LOCAL_FUNCTION;
@Deprecated
enum Kind {
PACKAGE_PART,
TRAIT_IMPL,
LOCAL_TRAIT_IMPL,
SAM_WRAPPER,
SAM_LAMBDA,
CALLABLE_REFERENCE_WRAPPER,
LOCAL_FUNCTION,
ANONYMOUS_FUNCTION,
WHEN_ON_ENUM_MAPPINGS,
}
}