public final void toRawValue(JBlock block, JVar $var) { if (getOptions().target.isLaterThan(SpecVersion.V2_2)) { block.assign($var, $target.invoke(getGetterMethod())); } else { block.assign($var, $target.invoke(getGetterMethod())); } }
public final void fromRawValue(JBlock block, String uniqueName, JExpression $var) { block.invoke($target, ("set" + prop.getName(true))).arg($var); }