@NotNull
    private static PsiType getVariableType(@NotNull PsiVariable variable) {
      PsiType type = variable.getType();
      PsiClass psiClass = PsiTypesUtil.getPsiClass(type);
      if (psiClass != null) {
        PsiType typeToUse = psiClass.getUserData(LightMethodObjectExtractedData.REFERENCED_TYPE);
        if (typeToUse != null) {
          type = typeToUse;
        }
      }

      return type;
    }
@NotNull
    private static PsiType getVariableType(@NotNull PsiVariable variable)