[522714] Add EAnnotationValidator.getAnnotationSource()
diff --git a/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/EAnnotationValidator.java b/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/EAnnotationValidator.java
index dc90342..c620694 100644
--- a/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/EAnnotationValidator.java
+++ b/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/EAnnotationValidator.java
@@ -87,6 +87,12 @@
   }
 
   /**
+   * Returns the {@link EAnnotation#getSource() annotation source} of the annotations validated by this annotation validator.
+   * @return the annotation source.
+   */
+  String getAnnotationSource();
+
+  /**
    * Returns whether this annotation with this annotation validator's {@link EAnnotation#getSource() annotation source} is valid at its {@link EAnnotation#getEModelElement() current location}.
    * @param eAnnotation the annotation in question.
    * @return whether this annotation with this annotation validator's annotation source is valid at its current location.
diff --git a/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/util/BasicEAnnotationValidator.java b/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/util/BasicEAnnotationValidator.java
index 7cd7423..ab52776 100644
--- a/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/util/BasicEAnnotationValidator.java
+++ b/plugins/org.eclipse.emf.ecore/src/org/eclipse/emf/ecore/util/BasicEAnnotationValidator.java
@@ -175,6 +175,14 @@
   }
 
   /**
+   * {@inheritDoc}
+   */
+  public String getAnnotationSource()
+  {
+    return annotationSource;
+  }
+
+  /**
    * Returns the resource locator for fetching implementation-specific messages.
    * @return the resource locator for fetching model-specific messages.
    */