this.interfaceList = interfaceList;
}
public ASTListNode getSuperClasses() {
int start = getBodyStart() - 1;
ASTListNode listNode = new ASTListNode(start, start);
if (superClass != null) {
listNode.addNode(superClass);
if (superClass.sourceStart() < start) {
start = superClass.sourceStart();
}
}
if (interfaceList != null) {
for (TypeReference iface : interfaceList) {
listNode.addNode(iface);
if (iface.sourceStart() < start) {
start = iface.sourceStart();
}
}
}
listNode.setStart(start);
return listNode;
}