コード例 #1
0
 public HashSet<FieldRecord> getAndRemoveUnderExecMethodWithDirtyGetFieldInstr(
     FunctionStateKey methodCallInfo) {
   FunctionStateKeyMapValue value = fieldsToSetDirtyInUnderCallMethod.remove(methodCallInfo);
   if (value == null) {
     return null;
   }
   return (HashSet<FieldRecord>) value.getValue();
 }
コード例 #2
0
  private void putInMap(
      HashMap<FunctionStateKey, FunctionStateKeyMapValue> map,
      FunctionStateKey callInfo,
      FieldRecord getFieldRecord) {

    FunctionStateKeyMapValue specialValue = map.get(callInfo);
    HashSet<FieldRecord> value = null;
    if (specialValue == null) {
      value = new HashSet<FieldRecord>();
      specialValue = new FunctionStateKeyMapValue(callInfo, value);
      map.put(callInfo, specialValue);
      value.add(getFieldRecord);
    } else {
      value = (HashSet<FieldRecord>) specialValue.getValue();
      value.add(getFieldRecord);
    }
  }
コード例 #3
0
 public void removeForMapForDirtyGetFieldInstr(FunctionStateKey methodCallInfo) {
   fieldsToSetDirtyAfterMethodCalled.remove(methodCallInfo);
 }