ValueHintType (final EditorMouseEvent e) { int modifiers = e.getMouseEvent().getModifiers(); if (modifiers == 0) { return ValueHintType.MOUSE_OVER_HINT; } else if (isAltMask(modifiers)) { return ValueHintType.MOUSE_ALT_OVER_HINT; } return null; }