question: public static int keyBindingDescriptionToKeyCode ( String keyBindingDescription ) { if ( StringUtils . isBlank ( keyBindingDescription ) ) { return 0 ; } else if ( keyBindingDescription . equals ( "ESC" ) ) { return SWT . ESC ; } else if ( keyBindingDescription . equals ( "F1" ) ) { return SWT . F1 ; } else if ( keyBindingDescription . equals ( "F2" ) ) { return SWT . F2 ; } else if ( keyBindingDescription . equals ( "F3" ) ) { return SWT . F3 ; } else if ( keyBindingDescription . equals ( "F4" ) ) { return SWT . F4 ; } else if ( keyBindingDescription . equals ( "F5" ) ) { return SWT . F5 ; } else if ( keyBindingDescription . equals ( "F6" ) ) { return SWT . F6 ; } else if ( keyBindingDescription . equals ( "F7" ) ) { return SWT . F7 ; } else if ( keyBindingDescription . equals ( "F8" ) ) { return SWT . F8 ; } else if ( keyBindingDescription . equals ( "F9" ) ) { return SWT . F9 ; } else if ( keyBindingDescription . equals ( "F10" ) ) { return SWT . F10 ; } else if ( keyBindingDescription . equals ( "F11" ) ) { return SWT . F11 ; } else if ( keyBindingDescription . equals ( "F12" ) ) { return SWT . F12 ; } else if ( keyBindingDescription . equals ( "SCRLOCK" ) ) { return SWT . SCROLL_LOCK ; } else if ( VALID_ACTION_KEY_CODES . indexOf ( keyBindingDescription . charAt ( keyBindingDescription . length ( ) - 1 ) ) != - 1 ) { return keyBindingDescription . charAt ( keyBindingDescription . length ( ) - 1 ) ; } else { return 0 ; } }
target:  Returns the key code for the specified key binding description.