Exclude given classes or packages from instrumentation
Description
Classes cannot be loaded at the same time within and outside of ByCounter. Externally loaded classes can result from using the same non-basic data types (classes instead of byte, long, ...). These classes cannot be regarded as internal classes in ByCounter if already loaded outside. This also applies to classes which are indirect dependencies of classes used externally.
A case in which a conflict can occur is if objects for input parameter or returned objects are created or compared on a class instantiated by ByCounter for measurement.
Implement a solution which allows to define which classes are loaded by ByCounter and which are loaded by an external ClassLoader. Provide convenient access to load classes within ByCounter in order to move input and output parameter handling to ByCounter's realm.
Environment
Activity
ExecutionSettings now contains the new property externalToClassLoaderClassesDefinition that allows the specification of classes that are delegated by the ClassLoader.
The ClassLoader is now accessible using getClassLoader().