mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
PY-42200 Annotate PyWithItem.getExpression as @NotNull and update usages
Parser was changed so that it no longer produces empty PyWithItem elements after trailing commas. GitOrigin-RevId: f730e68644f3444269d65d157b666267755e0d2d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
97b22aaa13
commit
ea039cfc94
@@ -1,13 +1,14 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.jetbrains.python.psi;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
|
||||
public interface PyWithItem extends PyElement {
|
||||
PyWithItem[] EMPTY_ARRAY = new PyWithItem[0];
|
||||
|
||||
@Nullable
|
||||
@NotNull
|
||||
PyExpression getExpression();
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user