While creating intercepted subclass, we should skip methods that have parameters which are private/package private classes from different packages.
The subclass can easily reside in different package then the parameter class which will result in IllegalAccessError upon invocation.
We could leverage ProxiedMethodFilter and add a check not to add methods with offending param types. While at it, we should also log a warning.
I've created a reproduce which cam be found here - https://github.com/manovotn/core/tree/weld2583