bodyDeclaration2);
case ASTNode.TYPE_DECLARATION:
case ASTNode.ENUM_DECLARATION:
case ASTNode.ANNOTATION_TYPE_DECLARATION:
AbstractTypeDeclaration type1 = (AbstractTypeDeclaration) bodyDeclaration1;
AbstractTypeDeclaration type2 = (AbstractTypeDeclaration) bodyDeclaration2;
String typeName1 = type1.getName().getIdentifier();
String typeName2 = type2.getName().getIdentifier();
return compareNames(bodyDeclaration1, bodyDeclaration2,
typeName1, typeName2);
case ASTNode.ENUM_CONSTANT_DECLARATION: