Home | History | Annotate | Download | only in log

Lines Matching refs:kind

12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26 import javax.tools.Diagnostic.Kind.ERROR
27 import javax.tools.Diagnostic.Kind.NOTE
28 import javax.tools.Diagnostic.Kind.WARNING
74 fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element? = null)
78 override fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element?) {
79 processingEnv.messager.printMessage(kind, msg, element)
84 private val messages = mutableMapOf<Diagnostic.Kind, MutableList<Pair<String, Element?>>> ()
85 override fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element?) {
86 messages.getOrPut(kind, {
91 fun hasErrors() = messages.containsKey(Diagnostic.Kind.ERROR)
95 val kind = pair.key
97 env.messager.printMessage(kind, it.first, it.second)