code: private void executeInClassScope(Callable<Void> call) {
          try {
              classContext.get().activate(deploymentClass);
              call.call();
          } catch (Exception e) {
              throw new RuntimeException("Could not invoke operation", e); // NOPMD
          } finally {
              classContext.get().deactivate();
          }
      }
docs: Calls operation in deployment class scope.
  
  @param call Callable to call