示例#1
0
 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()));
   }
 }
示例#2
0
 public final void fromRawValue(JBlock block, String uniqueName, JExpression $var) {
   block.invoke($target, ("set" + prop.getName(true))).arg($var);
 }