public boolean equals()

in src/org/jetbrains/ether/dependencyView/UsageRepr.java [222:237]


        public boolean equals(Object o) {
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;

            final MethodUsage that = (MethodUsage) o;

            if (!Arrays.equals(argumentTypes, that.argumentTypes)) return false;
            if (returnType != null ? !returnType.equals(that.returnType) : that.returnType != null) return false;
            if (name != null ? !name.equals(that.name) : that.name != null) return false;
            if (owner != null ? !owner.equals(that.owner) : that.owner != null) return false;

            return Arrays.equals(argumentTypes, that.argumentTypes) &&
                    returnType.equals(that.returnType) &&
                    name.equals(that.name) &&
                    owner.equals(that.owner);
        }