public String toActionId ( ) { final StringBuilder b = new StringBuilder ( ) ; b . append ( getActionName ( ) ) ; for ( final String type : this . signature ) { b . append ( "_" ) ; //$NON-NLS-1$ for ( final char c : type . replaceAll ( "(\\[\\])|\\*" , "Array" ) . toCharArray ( ) ) { //$NON-NLS-1$//$NON-NLS-2$ if ( Character . isJavaIdentifierPart ( c ) ) { b . append ( c ) ; } } } return b . toString ( ) ; }
Replies the string that permits to identify the action prototype according to the Java variable name .