Change Signature: Fix processing of enum constructors

#KT-7170 Fixed
This commit is contained in:
Alexey Sedunov
2015-03-30 21:06:00 +03:00
parent d65b55e147
commit 3bea49eedd
8 changed files with 47 additions and 1 deletions
@@ -122,6 +122,11 @@ public class JetClass extends JetTypeParameterListOwnerStub<KotlinClassStub> imp
return getStubOrPsiChild(JetStubElementTypes.CLASS_BODY);
}
@Nullable
public PsiElement getColon() {
return findChildByType(JetTokens.COLON);
}
public List<JetProperty> getProperties() {
JetClassBody body = getBody();
if (body == null) return Collections.emptyList();