By using `KotlinDeclarationProvider`, it can now check that the annotation is actually present in the scope