Add 'constructor' keyword in whole project where needed

This commit is contained in:
Denis Zharkov
2015-06-10 12:45:27 +03:00
parent 414d6b92f6
commit eb7114bd53
34 changed files with 62 additions and 48 deletions
@@ -115,7 +115,11 @@ fun LookupElement.addTailAndNameSimilarity(
return lookupElement
}
class ExpectedInfoClassification private(val substitutor: TypeSubstitutor?, val makeNotNullable: Boolean) {
class ExpectedInfoClassification
private constructor(
val substitutor: TypeSubstitutor?,
val makeNotNullable: Boolean
) {
companion object {
val notMatches = ExpectedInfoClassification(null, false)
fun matches(substitutor: TypeSubstitutor) = ExpectedInfoClassification(substitutor, false)