get All Annotations Of Type Blocking
fun AnnotationProvider.getAllAnnotationsOfTypeBlocking(types: EnumSet<ERROR CLASS: Symbol not found for AnnotationType>): List<Annotation>
Deprecated
AnnotationProviderBlocking is temporary and will be removed in a future release. Migrate to the suspend APIs on AnnotationProvider.
Returns all annotations of passed types in this document, blocking until the operation completes.
Return
List of all annotations of passed types in a document.
Parameters
types
Annotation types to return.
fun AnnotationProvider.getAllAnnotationsOfTypeBlocking(types: EnumSet<ERROR CLASS: Symbol not found for AnnotationType>, @IntRange(from = 0 ) startPageIndex: Int, @IntRange(from = 1 ) pageCount: Int): List<Annotation>
Deprecated
AnnotationProviderBlocking is temporary and will be removed in a future release. Migrate to the suspend APIs on AnnotationProvider.
Returns all annotations of passed types in the specified page range, blocking until the operation completes.
Return
List of all annotations of passed types in the specified page range.
Parameters
types
Annotation types to return.
start Page Index
First page to search.
page Count
Number of pages to search.