Support class rename in place of secondary ctor call

This commit is contained in:
Denis Zharkov
2015-03-13 11:33:20 +03:00
committed by Alexey Sedunov
parent 4b564fcc51
commit 25de64c6ab
6 changed files with 40 additions and 2 deletions
@@ -548,7 +548,8 @@ public class KotlinLightClassForExplicitDeclaration extends KotlinWrappingLightC
@Override
public PsiElement setName(@NonNls @NotNull String name) throws IncorrectOperationException {
throw new IncorrectOperationException("Cannot modify compiled kotlin element");
getOrigin().setName(name);
return this;
}
@Override