function preprocessComment(e) {

	let src = e.comment;

	// add a default visibility
	if ( !/@private|@public|@protected|@sap-restricted|@ui5-restricted/.test(src) ) {
		src = unwrap(src);
		src = src + "\n@private";
		src = wrap(src);
		// console.log("added default visibility to '" + src + "'");
	}

	if ( /@class/.test(src) && /@static/.test(src) ) {
		warning("combination of @class and @static is no longer supported with jsdoc3, converting it to @namespace and @classdesc: (line " + e.lineno + ")");
		src = unwrap(src);
		src = src.replace(/@class/, "@classdesc").replace(/@static/, "@namespace");
		src = wrap(src);
		//console.log(src);
	}

	return src;

}
/**
 * Pre-processes a JSDoc comment string to ensure some UI5 standards.
 *
 * @param {event} e Event for the new comment
 * @returns {event} Returns the modified event
 */
Pre-processes a JSDoc comment string to ensure some UI5 standards.
@param {event} e Event for the new comment
@returns {event} Returns the modified event
Pre - processes a JSDoc comment string to ensure some UI5 standards . @param { event } e Event for the new comment @returns { event } Returns the modified event
function preprocessComment(e) {
	let src = e.comment;
	if ( !/@private|@public|@protected|@sap-restricted|@ui5-restricted/.test(src) ) {
		src = unwrap(src);
		src = src + "\n@private";
		src = wrap(src);
	}
	if ( /@class/.test(src) && /@static/.test(src) ) {
		warning("combination of @class and @static is no longer supported with jsdoc3, converting it to @namespace and @classdesc: (line " + e.lineno + ")");
		src = unwrap(src);
		src = src.replace(/@class/, "@classdesc").replace(/@static/, "@namespace");
		src = wrap(src);
	}
	return src;
}
function preprocessComment ( e ) { let src = e . comment ; if ( ! / @private|@public|@protected|@sap-restricted|@ui5-restricted / . test ( src ) ) { src = unwrap ( src ) ; src = src + "\n@private" ; src = wrap ( src ) ; } if ( / @class / . test ( src ) && / @static / . test ( src ) ) { warning ( "combination of @class and @static is no longer supported with jsdoc3, converting it to @namespace and @classdesc: (line " + e . lineno + ")" ) ; src = unwrap ( src ) ; src = src . replace ( / @class / , "@classdesc" ) . replace ( / @static / , "@namespace" ) ; src = wrap ( src ) ; } return src ; }
Pre-processes a JSDoc comment string to ensure some UI5 standards.
Pre - processes a JSDoc comment string to ensure some UI5 standards .
// add a default visibility // console.log("added default visibility to '" + src + "'"); //console.log(src);