/** * Sets the array feature value. * * @param fd the fd * @param td the td * @return the string */ String setArrayFeatureValue(FeatureDescription fd, TypeDescription td) { return arrayCore("set", getGetSetArrayNamePart(fd), getJavaRangeType(fd), fd.getName()); }
/** * Gets the array feature value. * * @param fd the fd * @param td the td * @return the array feature value */ String getArrayFeatureValue(FeatureDescription fd, TypeDescription td) { String getSetArrayNamePart = getGetSetArrayNamePart(fd); String core = arrayCore("get", getSetArrayNamePart, getJavaRangeType(fd), fd.getName()); return castResult(getJavaRangeArrayElementType(fd), core); }