Ejemplo n.º 1
0
 @DSGenerator(
     tool_name = "Doppelganger",
     tool_version = "2.0",
     generated_on = "2014-03-24 16:06:04.804 -0400",
     hash_original_method = "D38963E005D5A9A3A34A1284CB80241E",
     hash_generated_method = "A0A5A663CEAB5E62AEFBA8B8447B6E4E")
 public void setValue(Object value) {
   if (mProgram == null) {
     throw new RuntimeException(
         "Attempting to set program variable '" + mVarName + "' but the program is null!");
   }
   mProgram.setHostValue(mVarName, value);
 }
Ejemplo n.º 2
0
 @DSGenerator(
     tool_name = "Doppelganger",
     tool_version = "2.0",
     generated_on = "2014-03-24 16:06:04.807 -0400",
     hash_original_method = "D68218AC574C24265E195636E2326CCC",
     hash_generated_method = "C8735996384973B74842D727A1CB0C4D")
 public Object getValue() {
   if (mProgram == null) {
     throw new RuntimeException(
         "Attempting to get program variable '" + mVarName + "' but the program is null!");
   }
   return mProgram.getHostValue(mVarName);
 }