int (CefKeyEvent cefKeyEvent) { int javaModifiers = 0; for (Map.Entry<Integer, Integer> entry : CEF_2_JAVA_MODIFIERS.entrySet()) { if ((cefKeyEvent.modifiers & entry.getKey()) != 0) { javaModifiers |= entry.getValue(); } } return javaModifiers; }