Drop TypeConstructor.getAnnotations(), uninherit TypeConstructor from Annotated

The method was unused on TypeConstructor instances, and almost all
implementations returned EMPTY anyway
This commit is contained in:
Alexander Udalov
2016-10-12 15:04:19 +03:00
parent 6b6ddf5f75
commit cdf6567375
20 changed files with 10 additions and 82 deletions
@@ -216,8 +216,6 @@ class LazyJavaClassDescriptor(
override val supertypeLoopChecker: SupertypeLoopChecker
get() = c.components.supertypeLoopChecker
override val annotations: Annotations get() = Annotations.EMPTY
override fun isFinal(): Boolean = isFinalClass
override fun isDenotable() = true