boolean (GrMember member1, GrMember member) { if (member instanceof GrMethod && member1 instanceof GrMethod) { return MethodSignatureUtil.areSignaturesEqual((GrMethod)member, (GrMethod)member1); } else if (member instanceof GrField && member1 instanceof GrField || member instanceof GrTypeDefinition && member1 instanceof GrTypeDefinition) { return member.getName().equals(member1.getName()); } return false; }