resourcesMatching
This function returns a list of all the resources in a certain (optional) package matching a regular expression.
This function cannot use reified
and inline
(as it should have) due to Java being unaware of the required transformation to use them.