Override protected methods on java objects

Searching for protected methods in the class hierarchy so they can be defined in the bytecode
following the current behavior for public methods.