|
|
@ -393,9 +393,10 @@ public class InvocationExprent extends Exprent { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public boolean equals(Object o) { |
|
|
|
public boolean equals(Object o) { |
|
|
|
if(o!=null && o instanceof InvocationExprent) { |
|
|
|
if(o == this) return true; |
|
|
|
InvocationExprent it = (InvocationExprent)o; |
|
|
|
if(o == null || !(o instanceof InvocationExprent)) return false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InvocationExprent it = (InvocationExprent)o; |
|
|
|
return InterpreterUtil.equalObjects(name, it.getName()) && |
|
|
|
return InterpreterUtil.equalObjects(name, it.getName()) && |
|
|
|
InterpreterUtil.equalObjects(classname, it.getClassname()) && |
|
|
|
InterpreterUtil.equalObjects(classname, it.getClassname()) && |
|
|
|
isStatic == it.isStatic() && |
|
|
|
isStatic == it.isStatic() && |
|
|
@ -403,9 +404,6 @@ public class InvocationExprent extends Exprent { |
|
|
|
InterpreterUtil.equalObjects(descriptor, it.getDescriptor()) && |
|
|
|
InterpreterUtil.equalObjects(descriptor, it.getDescriptor()) && |
|
|
|
functype == it.getFunctype() && |
|
|
|
functype == it.getFunctype() && |
|
|
|
InterpreterUtil.equalLists(lstParameters, it.getLstParameters()); |
|
|
|
InterpreterUtil.equalLists(lstParameters, it.getLstParameters()); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void replaceExprent(Exprent oldexpr, Exprent newexpr) { |
|
|
|
public void replaceExprent(Exprent oldexpr, Exprent newexpr) { |
|
|
|