Skip to content
Snippets Groups Projects
Commit 7b647c0e authored by Jesper's avatar Jesper
Browse files

Skip inherited members from java.lang.Object

parent db996077
No related branches found
No related tags found
No related merge requests found
...@@ -422,6 +422,10 @@ public class JsonBuilder { ...@@ -422,6 +422,10 @@ public class JsonBuilder {
ClassDecl klass = (ClassDecl) type; ClassDecl klass = (ClassDecl) type;
while (klass.hasSuperclass()) { while (klass.hasSuperclass()) {
ClassDecl superclass = (ClassDecl) klass.superclass(); ClassDecl superclass = (ClassDecl) klass.superclass();
if (superclass.isObject() || superclass.isUnknown()) {
// Don't include the object/unknown types in the type hierarchy.
break;
}
JsonArray methodArray = new JsonArray(); JsonArray methodArray = new JsonArray();
JsonArray attributeArray = new JsonArray(); JsonArray attributeArray = new JsonArray();
// Set to keep track of which method names have already been listed for // Set to keep track of which method names have already been listed for
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment