I'm working on a library which is based on another library Lib, which is based on an SDK.
I need to have my class MyClass
extend a class from Lib LibClass
, which in turn extends a class from SDK SdkClass
. In the constructor of LibClass
, it passes a value to SdkClass
' constructor via super(someArg)
.
However, for my code to work, I need to pass a different argument to SdkClass while keeping the rest the same. I don't have access to the source code of Lib. Is it possible to do it with some reflection?
Thank you!