private void addInstanceOfToText(@NonNls StringBuffer buffer) {
    if (myCheckParameterWithInstanceof) {
      buffer
        .append("if (!(")
        .append(myParameterName)
        .append(" instanceof ")
        .append(myClass.getName())
        .append(")) return false\n");
    } else {
      buffer
        .append("if (")
        .append(myParameterName)
        .append(" == null || getClass() != ")
        .append(myParameterName)
        .append(".class) return false\n");
    }
  }
private void addInstanceOfToText(@NonNls StringBuffer buffer)