@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((targetMethod == null) ? 0 : targetMethod.hashCode()); return result; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; StaticMethodCallEntry other = (StaticMethodCallEntry) obj; if (targetMethod == null) { if (other.targetMethod != null) return false; } else if (!targetMethod.equals(other.targetMethod)) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; if (!super.equals(obj)) return false; StaticFieldReadEntry other = (StaticFieldReadEntry) obj; if (targetField == null) { if (other.targetField != null) return false; } else if (!targetField.equals(other.targetField)) return false; return true; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((targetField == null) ? 0 : targetField.hashCode()); return result; }