public static DataMap getAnnotationsMap(Annotation[] as)
  {
    return annotationsToData(as, true);
  }
@Test(description = "Non-empty annotation, scalar members, default values, no skip: data map with annotation + members")
  public void succeedsOnSupportedScalarMembersWithDefaultValuesAndNoSkip()
  {
    @SupportedScalarMembersCustomized
    class LocalClass {
    }

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

    Assert.assertNotNull(actual);
    Assert.assertTrue(actual.get(SUPPORTED_SCALAR_MEMBERS_CUSTOMIZED) instanceof DataMap);

    final DataMap dataMap = ((DataMap) actual.get(SUPPORTED_SCALAR_MEMBERS_CUSTOMIZED));

    Assert.assertEquals(dataMap.size(), 9);
    Assert.assertEquals(dataMap.get("annotationMember").getClass(), DataMap.class); // from AnnotationEntry#data
    Assert.assertEquals(dataMap.get("booleanMember").getClass(), Boolean.class);
    Assert.assertEquals(dataMap.get("byteMember").getClass(), ByteString.class); // byte string
    Assert.assertEquals(dataMap.get("classMember").getClass(), String.class); // canonical class name
    Assert.assertNull(dataMap.get("doubleMember")); // <<< overridden to be excluded
    Assert.assertEquals(dataMap.get("enumMember").getClass(), String.class); // enum name
    Assert.assertEquals(dataMap.get("floatMember").getClass(), Float.class);
    Assert.assertEquals(dataMap.get("intMember").getClass(), Integer.class);
    Assert.assertEquals(dataMap.get("longMember").getClass(), Long.class);
    Assert.assertEquals(dataMap.get("overriddenStringMember").getClass(), String.class); // <<< name overridden
  }