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
@@ -656,12 +656,6 @@ public class LazyClassDescriptor extends ClassDescriptorBase implements ClassDes
return LazyClassDescriptor.this;
}
@NotNull
@Override
public Annotations getAnnotations() {
return Annotations.Companion.getEMPTY(); // TODO
}
@Override
public String toString() {
return LazyClassDescriptor.this.getName().toString();