public static @NotNull PsiType getVarTypeAt(@NotNull PsiVariable var, @NotNull PsiElement place) {
    for (VariableTypeCalculator calculator : EP_NAME.getExtensionList()) {
      final PsiType type = calculator.inferVarTypeAt(var, place);
      if (type != null) return type;
    }

    return var.getType();
  }
public static @NotNull PsiType getVarTypeAt(@NotNull PsiVariable var, @NotNull PsiElement place)