AnnotationExcluder

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

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
constructor(root: KtFile, excludes: List<Regex>)

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.