{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

LifecycleProcessor

@SupportedAnnotationTypes(value = ["androidx.lifecycle.OnLifecycleEvent"])
class LifecycleProcessor : AbstractProcessor

kotlin.Any
   ↳ javax.annotation.processing.AbstractProcessor
     ↳ androidx.lifecycle.LifecycleProcessor

Summary

Public constructors

Public functions

open SourceVersion
open Boolean
process(annotations: MutableSet<TypeElement>, roundEnv: RoundEnvironment)

Inherited functions

From javax.annotation.processing.AbstractProcessor

Inherited properties

From javax.annotation.processing.AbstractProcessor

Public constructors

LifecycleProcessor

LifecycleProcessor()

Public functions

getSupportedSourceVersion

open fun getSupportedSourceVersion(): SourceVersion

process

open fun process(annotations: MutableSet<TypeElement>, roundEnv: RoundEnvironment): Boolean