示例#1
0
 @Override
 public boolean conflicts(ChangeAddChildDescriptor a, ChangeNameDescriptor b) {
   return (a.getChild().equals(b.getTarget()) || a.getParent().equals(b.getTarget()));
 }
示例#2
0
 @Override
 public boolean conflicts2(ChangeNameDescriptor a, ChangeNameDescriptor b) {
   /* More */
   return a.getTarget().equals(b.getTarget());
 }
示例#3
0
 @Override
 public boolean conflicts(ChangeConnectDescriptor a, ChangeNameDescriptor b) {
   return a.getLink().equals(b.getTarget()) || a.getPoint().equals(b.getTarget());
 }
示例#4
0
 @Override
 public boolean conflicts(ChangeDisconnectDescriptor a, ChangeNameDescriptor b) {
   /* More */
   Point.Identifier point = a.getPoint();
   return (point.equals(b.getTarget()));
 }
示例#5
0
 @Override
 public boolean conflicts(ChangeRemoveChildDescriptor a, ChangeNameDescriptor b) {
   return a.getChild().equals(b.getTarget());
 }