JetClass#getDeclarations() by stub
This commit is contained in:
@@ -49,7 +49,7 @@ public class JetClass extends JetTypeParameterListOwnerStub<PsiJetClassStub> imp
|
|||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public List<JetDeclaration> getDeclarations() {
|
public List<JetDeclaration> getDeclarations() {
|
||||||
JetClassBody body = (JetClassBody) findChildByType(JetNodeTypes.CLASS_BODY);
|
JetClassBody body = getStubOrPsiChild(JetStubElementTypes.CLASS_BODY);
|
||||||
if (body == null) return Collections.emptyList();
|
if (body == null) return Collections.emptyList();
|
||||||
|
|
||||||
return body.getDeclarations();
|
return body.getDeclarations();
|
||||||
|
|||||||
Reference in New Issue
Block a user