}
public void addInterface(Type name) {
if (type instanceof ASInterfaceType) {
ASInterfaceType interfaceType = (ASInterfaceType) type;
interfaceType.addSuperInterface(name.getName());
} else {
ASClassType classType = (ASClassType) type;
classType.addImplementedInterface(name.getName());
}
addImport(name.getName());