addGlobalMetadata for all of my classes only

Hello, I can’t figure out the filters for addGlobalMetadata function, could you help me? I have several classes at the top level (package;) and I have several classes that has different implementations depending on the build target: I have a “javascript” folder (package javascript.) for JS target and “native” folder (package native.) for C++ target. When I use addGlobalMetadata(’’, ‘<metadata_goes_here>’) the metadata gets added to all classes including std ones. How can I limit this function to add metadata to my classes only? Thanks!

I don’t think it’s possible to exclude the std or a third party lib.

You’ll have to either put all of your code inside a package, or use several addGlobalMetadata listing only your toplevel classes.