[FIR] Add ability to specify if meta annotation itself should match metaAnnotated predicate
^KT-55843 Fixed
This commit is contained in:
committed by
Space Team
parent
e88a6af7a0
commit
4363b0815c
+1
-1
@@ -22,7 +22,7 @@ class FirNoArgPredicateMatcher(
|
||||
|
||||
override val predicate = DeclarationPredicate.create {
|
||||
val annotationFqNames = noArgAnnotationFqNames.map { FqName(it) }
|
||||
annotated(annotationFqNames) or metaAnnotated(annotationFqNames)
|
||||
annotated(annotationFqNames) or metaAnnotated(annotationFqNames, includeItself = true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user