Insert KProperty<*> when creating property delegate methods in IDE

This commit is contained in:
Alexander Udalov
2015-10-13 13:00:51 +03:00
parent ec1b4776fe
commit a6846b3967
11 changed files with 49 additions and 31 deletions
@@ -128,7 +128,7 @@ public class DelegatedPropertyResolver {
@NotNull
private static JetExpression createExpressionForProperty(@NotNull JetPsiFactory psiFactory) {
return psiFactory.createExpression("null as kotlin.reflect.KProperty<*>");
return psiFactory.createExpression("null as " + KotlinBuiltIns.FQ_NAMES.kProperty.asSingleFqName().asString() + "<*>");
}
public void resolveDelegatedPropertyPDMethod(