/** * Reads string element from the annotation. Empty strings are detected * and default value is returned instead. */ protected String readString(A annotation, String name, String defaultValue) { String value = readStringElement(annotation, name); if (StringUtil.isEmpty(value)) { value = defaultValue; } return value; }
/** * Reads string element from the annotation. Empty strings are detected * and default value is returned instead. */ protected String readString(A annotation, String name, String defaultValue) { String value = readStringElement(annotation, name); if (StringUtil.isEmpty(value)) { value = defaultValue; } return value; }