dl.newDep(packageNode, mainClass, JavaRelation.CLASS);
dl.newDep(TypeNameUtil.fromInternalName(superName), mainClass,
JavaRelation.EXTENDS);
for (String s : interfaces) {
InterfaceElement element = TypeNameUtil.fromInterfaceName(s);
dl.newDep(element, mainClass, JavaRelation.IMPLEMENTS);
}
checkAnonymousType(name);
}