AddInternalCompilerHooks
Parameters
namePatterns
a set of regex patterns to match type names against. If a type name (including its package) matches, it will be made internal. Examples:
to match all classes, use
".*"
to match classes under a specific package, use
"com\\.example\\.subpackage\\..*"
to match a specific operation, use
"com\\.example\\.MyQuery"