DomainRemotePartAST domainRemotePartAST =
(DomainRemotePartAST) remotePartAST;
Domain domain = new Domain(domainRemotePartAST.spelling);
remotePart = new DomainPart(domain);
} else if (remotePartAST instanceof AddressLiteralRemotePartAST) {
AddressLiteralRemotePartAST addressLiteralRemotePartAST =
(AddressLiteralRemotePartAST) remotePartAST;
remotePart =
new AddressLiteral(addressLiteralRemotePartAST.spelling,
addressLiteralRemotePartAST.address);
} else {