public JSDocInfo cloneClassDoc ( ) { JSDocInfo other = new JSDocInfo ( ) ; other . info = this . info == null ? null : this . info . cloneClassDoc ( ) ; other . documentation = this . documentation ; other . visibility = this . visibility ; other . bitset = this . bitset ; other . type = cloneType ( this . type , false ) ; other . thisType = cloneType ( this . thisType , false ) ; other . includeDocumentation = this . includeDocumentation ; other . originalCommentPosition = this . originalCommentPosition ; other . setConstructor ( false ) ; other . setStruct ( false ) ; if ( ! isInterface ( ) && other . info != null ) { other . info . baseType = null ; } return other ; }
This is used to get all nodes + the description excluding the param nodes . Used to help in an ES5 to ES6 class converter only .