@Override
 public boolean equals(Object other) {
   return this == other
       || !(other == null || getClass() != other.getClass())
           && parameterIndex == ((OnMethodParameter) other).parameterIndex
           && methodVisitor.equals(((OnMethodParameter) other).methodVisitor);
 }