Java Code Examples for org.jetbrains.java.decompiler.util.InterpreterUtil#equalLists()
The following examples show how to use
org.jetbrains.java.decompiler.util.InterpreterUtil#equalLists() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: NewExprent.java From JByteMod-Beta with GNU General Public License v2.0 | 5 votes |
@Override public boolean equals(Object o) { if (o == this) return true; if (o == null || !(o instanceof NewExprent)) return false; NewExprent ne = (NewExprent) o; return InterpreterUtil.equalObjects(newType, ne.getNewType()) && InterpreterUtil.equalLists(lstDims, ne.getLstDims()) && InterpreterUtil.equalObjects(constructor, ne.getConstructor()) && directArrayInit == ne.directArrayInit && InterpreterUtil.equalLists(lstArrayElements, ne.getLstArrayElements()); }
Example 2
Source File: FunctionExprent.java From JByteMod-Beta with GNU General Public License v2.0 | 5 votes |
@Override public boolean equals(Object o) { if (o == this) return true; if (o == null || !(o instanceof FunctionExprent)) return false; FunctionExprent fe = (FunctionExprent) o; return funcType == fe.getFuncType() && InterpreterUtil.equalLists(lstOperands, fe.getLstOperands()); // TODO: order of operands insignificant }
Example 3
Source File: AnnotationExprent.java From JByteMod-Beta with GNU General Public License v2.0 | 5 votes |
@Override public boolean equals(Object o) { if (o == this) return true; if (o == null || !(o instanceof AnnotationExprent)) return false; AnnotationExprent ann = (AnnotationExprent) o; return className.equals(ann.className) && InterpreterUtil.equalLists(parNames, ann.parNames) && InterpreterUtil.equalLists(parValues, ann.parValues); }
Example 4
Source File: InvocationExprent.java From JByteMod-Beta with GNU General Public License v2.0 | 5 votes |
@Override public boolean equals(Object o) { if (o == this) return true; if (o == null || !(o instanceof InvocationExprent)) return false; InvocationExprent it = (InvocationExprent) o; return InterpreterUtil.equalObjects(name, it.getName()) && InterpreterUtil.equalObjects(classname, it.getClassname()) && isStatic == it.isStatic() && InterpreterUtil.equalObjects(instance, it.getInstance()) && InterpreterUtil.equalObjects(descriptor, it.getDescriptor()) && functype == it.getFunctype() && InterpreterUtil.equalLists(lstParameters, it.getLstParameters()); }