@ SuppressWarnings ( "static-method" ) protected String protectCommentKeyword ( String keyword ) { if ( "*/" . equals ( keyword ) ) { //$NON-NLS-1$ return "* /" ; //$NON-NLS-1$ } if ( "/*" . equals ( keyword ) ) { //$NON-NLS-1$ return "/ *" ; //$NON-NLS-1$ } if ( "//" . equals ( keyword ) ) { //$NON-NLS-1$ return "/ /" ; //$NON-NLS-1$ } return keyword ; }
Protect the keywword for Java comments .