コード例 #1
0
 GraphObject getObject(BddtHistoryItem hi) {
   BumpRunValue rv = hi.getThisValue();
   GraphObject go = null;
   if (rv != null) {
     String key = rv.getValue();
     go = object_map.get(key);
     if (go == null) {
       go = new GraphObject(rv);
       graph_objects.add(go);
       object_map.put(key, go);
     }
   } else {
     String cnm = hi.getClassName();
     go = object_map.get(cnm);
     if (go == null) {
       go = new GraphObject(cnm);
       graph_objects.add(go);
       object_map.put(cnm, go);
     }
   }
   return go;
 }
コード例 #2
0
 String getName() {
   if (this_value == null) return class_name;
   return class_name + " " + this_value.getValue();
 }
コード例 #3
0
 GraphObject(BumpRunValue rv) {
   this_value = rv;
   class_name = rv.getType();
   initialize();
 }