AnnotationExcluder

class AnnotationExcluder(    root: KtFile,     excludes: List<Regex>,     context: BindingContext)

Primary use case for an AnnotationExcluder is to decide if a KtElement should be excluded from further analysis. This is done by checking if a special annotation is present over the element.

Constructors

Link copied to clipboard
fun AnnotationExcluder(root: KtFile, excludes: SplitPattern)
Link copied to clipboard
fun AnnotationExcluder(root: KtFile, excludes: List<String>)
Link copied to clipboard
fun AnnotationExcluder(    root: KtFile,     excludes: List<Regex>,     context: BindingContext)

Functions

Link copied to clipboard
fun shouldExclude(annotations: List<KtAnnotationEntry>): Boolean

Is true if any given annotation name is declared in the SplitPattern which basically describes entries to exclude.