getSymbolsWithAnnotation
inline fun <A : Annotation> Resolver.getSymbolsWithAnnotation(inDepth: Boolean = false): Sequence<KSAnnotated>(source)
Get all symbols with specified annotation. Note that in multiple round processing, only symbols from deferred symbols of last round and symbols from newly generated files will be returned in this function.
Return
Elements annotated with the specified annotation.
Parameters
A
the annotation
inDepth
whether to check symbols in depth, i.e. check symbols from local declarations. Operation can be expensive if true.
See also
Resolver.getSymbolsWithAnnotation