Minor: move property from UnusedSymbolInspection to ktPsiUtil

This commit is contained in:
Dmitry Gridin
2019-03-25 19:28:52 +07:00
parent 3e0269a95a
commit 4495c653cb
2 changed files with 2 additions and 2 deletions
@@ -428,6 +428,8 @@ val KtStringTemplateExpression.plainContent: String
fun KtStringTemplateExpression.isSingleQuoted(): Boolean = node.firstChildNode.textLength == 1
val KtNamedDeclaration.isPrivateNestedClassOrObject: Boolean get() = this is KtClassOrObject && isPrivate() && !isTopLevel()
fun KtNamedDeclaration.getValueParameters(): List<KtParameter> {
return getValueParameterList()?.parameters ?: Collections.emptyList()
}