EvaluatedMethodDeclaration annotatedMethod = annotatedMethods.get(0);
if (annotatedMethods.size() > 1) {
EvaluatedMethodDeclaration second = annotatedMethods.get(1);
if (annotatedMethod.containingClass().equals(
second.containingClass())) {
throw Exceptions.self.duplicateObjectNameKeyAttributes(
annotatedMethod, second,
annotatedMethod.containingClass().name());
}