boolean (Object obj) { if (obj instanceof GrClosureParameter) { return Comparing.equal(myType, ((GrClosureParameter)obj).getType()) && Comparing.equal(myOptional, ((GrClosureParameter)obj).isOptional()) && Comparing.equal(myDefaultInitializer, ((GrClosureParameter)obj).getDefaultInitializer()); } return super.equals(obj); }