}
if (localIdAccessor == null) {
CouchId couchId = readMethod.getAnnotation(CouchId.class);
if (couchId != null) {
localIdAccessor = new ValueAccessor(entityClass, readMethod);
localIdPattern = (StringUtil.isNotBlank(couchId.pattern())) ? couchId.pattern() : null;
}
}
}
}