PyStatementListContainer extends PyElement, so it can be used in methods like PsiTree...
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 2 Nov 2015 11:17:15 +0000 (14:17 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 9 Nov 2015 10:51:11 +0000 (13:51 +0300)
python/psi-api/src/com/jetbrains/python/psi/PyStatementListContainer.java
python/psi-api/src/com/jetbrains/python/psi/PyStatementPart.java

index c56b799f429c6f9042098683aac11cd5c7b12c5a..b69e2c70f41e385d0424448cb24929b5c57d476e 100644 (file)
@@ -20,7 +20,7 @@ import org.jetbrains.annotations.NotNull;
 /**
  * @author Ilya.Kazakevich
  */
-public interface PyStatementListContainer {
+public interface PyStatementListContainer extends PyElement {
   @NotNull
   PyStatementList getStatementList();
 }
index 0ebc50865504d3f3b85fe919c5142f71ee50af77..b639f206277b901a226d794cd339a36368c3eab3 100644 (file)
@@ -20,6 +20,6 @@ package com.jetbrains.python.psi;
  * User: dcheryasov
  * Date: Mar 16, 2009 4:34:59 AM
  */
-public interface PyStatementPart extends PyElement, PyStatementListContainer {
+public interface PyStatementPart extends PyStatementListContainer {
   PyStatementPart[] EMPTY_ARRAY = new PyStatementPart[0];
 }