[435105] Fix for compilation error in Fedora

Trying to build this for Fedora RPM results in a compilation failure
without this patch. The error states that, e.g.

Incompatible operand types Class<capture#2-of ? extends
IDEBeanTypeProxy> and Class<Boolean>

Signed-off-by: Gerard Ryan <gerard@ryan.lt>