removing redundant null check from DelegatingMethod.equals()