@NotNull
  private static PsiType getTypeNotNull(PsiType type, PsiElement scope) {
    return type != null ? type : TypesUtil.getJavaLangObject(scope);
  }
@NotNull
  private static PsiType getTypeNotNull(PsiType type, PsiElement scope)