public static DataMap getAnnotationsMap(Annotation[] as)
  {
    return annotationsToData(as, true);
  }
@Test(description = "Non-RestSpecAnnotation annotation: annotation is not recorded")
  public void succeedsOnNonRestSpecAnnotation()
  {
    @NonRestSpecAnnotation
    class LocalClass {
    }

    final Annotation[] annotations = LocalClass.class.getAnnotations();
    final DataMap actual = ResourceModelAnnotation.getAnnotationsMap(annotations);

    Assert.assertEquals(EMPTY_DATA_MAP, actual);
  }