java: import not detected with cast opcode
Brought to you by:
zproxy
If a type is referenced by a cast operation there seems to be issues detecting it and declaring it in the java import list.
As a workaround one must assign a temporary variable first to allow the type detection to occur.