public String getMethodField ( ) { // // Both the event set and event name must be used for the generated field to avoid // conflicts between same-named events in different event sets. // StringBuffer sb = new StringBuffer ( ) ; sb . append ( "_" ) ; sb . append ( _eventSet . getShortName ( ) ) ; sb . append ( "_" ) ; sb . append ( getName ( ) ) ; int methodIndex = getIndex ( ) ; if ( methodIndex != - 1 ) sb . append ( methodIndex ) ; sb . append ( "Event" ) ; return sb . toString ( ) ; }
Returns the name of the static field that holds the name of this method .