boolean (Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LombokLightMethodBuilder that = (LombokLightMethodBuilder)o; if (!getName().equals(that.getName())) { return false; } if (isConstructor() != that.isConstructor()) { return false; } final PsiClass containingClass = getContainingClass(); final PsiClass thatContainingClass = that.getContainingClass(); if (!Objects.equals(containingClass, thatContainingClass)) { return false; } if (!getModifierList().equals(that.getModifierList())) { return false; } if (!getParameterList().equals(that.getParameterList())) { return false; } return Objects.equals(myReturnTypeAsText, that.myReturnTypeAsText); }