HashKey hashKeyAnn = m.getAnnotation(HashKey.class);
if (hashKeyAnn != null) {
attributeName = hashKeyAnn.name();
methodInfo.type = MethodInfo.MethodType.HASHKEY;
} else {
MappedAttribute mappedAttrAnn = m.getAnnotation(MappedAttribute.class);
if (mappedAttrAnn != null) {
attributeName = mappedAttrAnn.mappedTo();
methodInfo.type = MethodInfo.MethodType.MAPPED;
} else {
//Some getter method
continue;
}