Cleanup: apply "Convert lambda to reference"

This commit is contained in:
Mikhail Glukhikh
2017-02-22 16:12:01 +03:00
parent b121bf8802
commit 045a23ae10
82 changed files with 117 additions and 135 deletions
@@ -339,7 +339,7 @@ abstract class AbstractAnnotationProcessingExtension(
}
val applicableAnnotations = applicableAnnotationNames
.map { javaPsiFacade().findClass(it, projectScope())?.let { JeTypeElement(it) } }
.map { javaPsiFacade().findClass(it, projectScope())?.let(::JeTypeElement) }
.filterNotNullTo(hashSetOf())
log {