public Iterable<KmTypeParameter> getTypeParameters() {
    KmDeclarationContainer container = getDeclarationContainer();
    return container instanceof KmClass? ((KmClass)container).getTypeParameters() : Collections.emptyList();
  }
public Iterable<KmTypeParameter> getTypeParameters()