private static Class<?> toJvmType(PsiType type) {
        if (TypeUtils.isJavaLangString(type)) {
          return String.class;
        }
        if (TypeUtils.isJavaLangObject(type)) {
          return Object.class;
        }
        if (TypeUtils.typeEquals(JAVA_LANG_CHAR_SEQUENCE, type)) {
          return CharSequence.class;
        }
        if (PsiTypes.intType().equals(type)) {
          return int.class;
        }
        if (PsiTypes.booleanType().equals(type)) {
          return boolean.class;
        }
        if (PsiTypes.byteType().equals(type)) {
          return byte.class;
        }
        if (PsiTypes.shortType().equals(type)) {
          return short.class;
        }
        if (PsiTypes.charType().equals(type)) {
          return char.class;
        }
        if (PsiTypes.longType().equals(type)) {
          return long.class;
        }
        if (PsiTypes.floatType().equals(type)) {
          return float.class;
        }
        if (PsiTypes.doubleType().equals(type)) {
          return double.class;
        }
        return null;
      }
private static Class<?> toJvmType(PsiType type)