FilteredClassLoader
Create a FilteredClassLoader that hides the given classes.
Parameters
hiddenClasses
the classes to hide
Create a FilteredClassLoader with the given parent
that hides the given classes.
Parameters
parent
the parent class loader
hiddenClasses
the classes to hide
Create a FilteredClassLoader that hides classes from the given packages.
Parameters
hiddenPackages
the packages to hide
Create a FilteredClassLoader that hides resources from the given classpath resources.
Since
2.1.0
Parameters
hiddenResources
the resources to hide
Create a FilteredClassLoader that filters based on the given predicate.
Parameters
filters
a set of filters to determine when a class name or resource shouldbe hidden. A result of true
indicates afiltered class or resource. The input of the predicate can either be the binaryname of a class or a resource name.