add javaBackendHooks method to AbstractKModule + clean up BuiltinFunctio...

...n code

**do not review yet**
this is actually the best way because it localizes disabling the check to the specific check and location in the code that you care about. Other checks in the same file are not affected.