private static boolean isContextDependentType(@Nullable PsiType type) {
    if (type == null) return false;
    for (String aClass : BASE_CONTEXT_AWARE_CLASSES) {
      if (InheritanceUtil.isInheritor(type, aClass)) {
        return true;
      }
    }
    return false;
  }
private static boolean isContextDependentType(@Nullable PsiType type)