Attribute attrAnn = m.getAnnotation(Attribute.class);
if (attrAnn != null) {
attributeName = attrAnn.name();
methodInfo.type = MethodInfo.MethodType.SETTER;
} else {
Version versionAnn = m.getAnnotation(Version.class);
if (versionAnn != null) {
attributeName = versionAnn.name();
methodInfo.type = MethodInfo.MethodType.VERSION;
} else {
HashKey hashKeyAnn = m.getAnnotation(HashKey.class);
if (hashKeyAnn != null) {
attributeName = hashKeyAnn.name();