@Override
 public Set<String> getImports(JavaClass klass) {
   final Set<String> imports = new HashSet<String>();
   if (!klass.doesExtend()) {
     imports.add("org.xbmc.android.jsonrpc.api.AbstractModel");
   }
   return imports;
 }
  @Override
  public void renderExtends(StringBuilder sb, JavaClass klass) {

    sb.append(" extends ");
    if (klass.doesExtend()) {
      sb.append(getClassReference(klass.getNamespace(), klass.getParentClass()));
    } else {
      sb.append("AbstractModel");
    }
  }