question: public CCMenuItem ( Object rec , String cb ) { targetCallback = rec ; selector = cb ; setAnchorPoint ( CGPoint . make ( 0.5f , 0.5f ) ) ; invocation = null ; if ( rec != null && cb != null ) { Class < ? > cls = rec . getClass ( ) ; try { invocation = cls . getMethod ( cb , Object . class ) ; } catch ( SecurityException e ) { e . printStackTrace ( ) ; } catch ( NoSuchMethodException e ) { e . printStackTrace ( ) ; } } isEnabled_ = true ; isSelected_ = false ; }
target:  Initializes a menu item with a target/selector