Minor: move property from UnusedSymbolInspection to ktPsiUtil
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user