processor-java / testaccessors.internal.base / AnnotationProcessor

AnnotationProcessor

abstract class AnnotationProcessor : AbstractProcessor, Options

Constructors

<init>

AnnotationProcessor(annotationClass: Class<out Annotation>)

Properties

annotationClass

val annotationClass: Class<out Annotation>

elementUtils

lateinit var elementUtils: Elements

filer

lateinit var filer: Filer

messager

lateinit var messager: Messager

options

lateinit var options: Map<String, String>

typeUtils

lateinit var typeUtils: Types

Functions

defaultAndroidXRestrictTo

open fun defaultAndroidXRestrictTo(): Iterable<Scope>

defaultSupportRestrictTo

open fun defaultSupportRestrictTo(): Iterable<Scope>

getSupportedAnnotationTypes

open fun getSupportedAnnotationTypes(): Set<String!>

getSupportedOptions

open fun getSupportedOptions(): Set<String>

getSupportedSourceVersion

open fun getSupportedSourceVersion(): SourceVersion

init

open fun init(processingEnvironment: ProcessingEnvironment): Unit

requiredClasses

open fun requiredClasses(): List<String>

Inheritors

RequiresAccessorProcessor

class RequiresAccessorProcessor : AnnotationProcessor