/*
 * Copyright 2000-2017 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.intellij.debugger.streams.trace.impl.handler.type;

import org.jetbrains.annotations.NotNull;

/**
 * @author Vitaliy.Bibaev
 */
public class GenericTypeImpl implements GenericType {
  private final String myPrimitiveName;
  private final String myGenericName;

  GenericTypeImpl(@NotNull String primitiveName, @NotNull String genericName) {
    myPrimitiveName = primitiveName;
    myGenericName = genericName;
  }

  @NotNull
  @Override
  public String getVariableTypeName() {
    return myPrimitiveName;
  }

  @NotNull
  @Override
  public String getGenericTypeName() {
    return myGenericName;
  }
}

@@ -701,16 +701,43 @@
 tNull;%0A%0A
+import java.util.Objects;%0A%0A
 /**%0A * @
@@ -856,16 +856,449 @@
 veName;%0A
+%0A  @Override%0A  public int hashCode() %7B%0A    return Objects.hash(myPrimitiveName, myGenericName);%0A  %7D%0A%0A  @Override%0A  public boolean equals(Object obj) %7B%0A    if (this == obj) %7B%0A      return true;%0A    %7D%0A%0A    if (obj instanceof GenericType) %7B%0A      final GenericType type = (GenericType)obj;%0A      return myPrimitiveName.equals(type.getVariableTypeName()) && myGenericName.equals(type.getGenericTypeName());%0A    %7D%0A%0A    return false;%0A  %7D%0A%0A
   privat

Add equals/hashCode for the GenericTypeImpl class