mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Use list of types for element types instead of array in PyTupleType
This commit is contained in:
committed by
Semyon Proshev
parent
0f35d93245
commit
740ef94bcf
@@ -27,6 +27,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
@@ -53,7 +54,7 @@ public abstract class PyPsiFacade {
|
||||
public abstract PyType createUnionType(@NotNull Collection<PyType> members);
|
||||
|
||||
@Nullable
|
||||
public abstract PyType createTupleType(@NotNull Collection<PyType> members, @NotNull PsiElement anchor);
|
||||
public abstract PyType createTupleType(@NotNull List<PyType> members, @NotNull PsiElement anchor);
|
||||
|
||||
@Nullable
|
||||
public abstract PyType parseTypeAnnotation(@NotNull String annotation, @NotNull PsiElement anchor);
|
||||
|
||||
Reference in New Issue
Block a user