JetClassBody#getProperties() by stub

This commit is contained in:
Pavel V. Talanov
2014-04-17 14:40:43 +04:00
parent f83bcf47b7
commit 760b5e8d3b
@@ -23,6 +23,7 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.JetNodeTypes;
import org.jetbrains.jet.lang.psi.stubs.PsiJetPlaceHolderStub;
import org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementTypes;
import org.jetbrains.jet.lexer.JetTokens;
import java.util.Arrays;
@@ -58,7 +59,7 @@ public class JetClassBody extends JetElementImplStub<PsiJetPlaceHolderStub<JetCl
@NotNull
public List<JetProperty> getProperties() {
return findChildrenByType(JetNodeTypes.PROPERTY);
return getStubOrPsiChildrenAsList(JetStubElementTypes.PROPERTY);
}
@Nullable