// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.annotator.intentions.dynamic;

public class ParamInfo {

  public String name;
  public String type;

  public ParamInfo(String name, String type) {
    this.name = name;
    this.type = type;
  }

  public final int hashCode() {
    int hashCode = 0;
    if (name != null) {
      hashCode += name.hashCode();
    }
    if (type != null) {
      hashCode += type.hashCode();
    }
    return hashCode;
  }

  public String toString() {
    return "<" + name + "," + type + ">";
  }
}

@@ -273,16 +273,71 @@
  type;%0A%0A
+  @SuppressWarnings(%22unused%22)%0A  public ParamInfo() %7B%7D%0A%0A
   public

add default constructor for serialization entity (EA-109536)