diff --git a/JavaClass.java b/JavaClass.java index b2aa8ff..852e2f3 100644 --- a/JavaClass.java +++ b/JavaClass.java @@ -405,6 +405,10 @@ static String getClassName (Class jclass, boolean isFullname) public void appendToDocument (Document doc, Element parent) { + // FIXME: remove this hack (somehow) + if (jclass.getName ().equals ("android.support.v4.widget.SearchViewCompatHoneycomb")) + return; + int mods = jclass.getModifiers (); Element e = doc.createElement (jclass.isInterface () && !jclass.isAnnotation () ? "interface" : "class"); @@ -447,6 +451,7 @@ else if (iface instanceof ParameterizedType) { iface_elem.appendChild (doc.createTextNode ("\n")); e.appendChild (iface_elem); } + for (Constructor ctor : jclass.getDeclaredConstructors ()) appendCtor (ctor, doc, e);