Load JSR-305 annotations for libraries if it's enabled for any module

#KT-19303 Fixed
This commit is contained in:
Dmitry Jemerov
2017-08-01 19:38:04 +02:00
parent 4ca8d3d6cf
commit b423d58a14
12 changed files with 153 additions and 23 deletions
@@ -68,5 +68,7 @@ enum class Jsr305State(
companion object {
@JvmField
val DEFAULT: Jsr305State = IGNORE
fun findByDescription(description: String?) = values().firstOrNull { it.description == description }
}
}