private static void processAlias(XMLStreamReader2 streamReader, AliasesData aliasesData, File aliasesFile) throws AliasException {
String aliasName = streamReader.getAttributeValue(null, "name");
String aliasClass = streamReader.getAttributeValue(null, "class");
if (aliasName.equals(aliasClass)) {
throw new AliasNameIsTheSameAsTheClassException(aliasesFile, aliasName);
}
if((aliasClass == null) || (aliasClass.equals(""))) {
throw new IncompleteAliasException(aliasesFile, aliasName);
}