Beispiel #1
0
 /** @see de.unika.ipd.grgen.ir.Expression#collectNeededEntities() */
 public void collectNeededEntities(NeededEntities needs) {
   if (owner != null) {
     if (!isGlobalVariable(owner) && !(owner.getType() instanceof MatchType)) {
       if (owner instanceof GraphEntity) needs.addAttr((GraphEntity) owner, member);
       else needs.add((Variable) owner);
     }
   } else {
     ownerExpr.collectNeededEntities(needs);
   }
 }