# Class: com.pnfsoftware.jeb.core.output.code.CommentGenerator

A comment generator for [CodeDocument](CodeDocument)s.

## Constructor: CommentGenerator
- parameter: `out`, type: `com.pnfsoftware.jeb.core.output.code.CodeDocumentPart`
- parameter: `commentToken`, type: `java.lang.String`


## Constructor: CommentGenerator
- parameter: `out`, type: `com.pnfsoftware.jeb.core.output.code.CodeDocumentPart`
- parameter: `commentToken`, type: `java.lang.String`
- parameter: `inlineSpacesBefore`, type: `int`
- parameter: `spacesAfter`, type: `int`


## Method: genInline
- parameter: `coord`, type: `com.pnfsoftware.jeb.core.output.code.coordinates.ICodeCoordinates`
- parameter: `buffer`, type: `java.lang.String`
- parameter: `auto`, type: `boolean`
- return type: `boolean`


## Method: genInline
- parameter: `coord`, type: `com.pnfsoftware.jeb.core.output.code.coordinates.ICodeCoordinates`
- parameter: `c`, type: `com.pnfsoftware.jeb.core.units.impl.Comment`
- parameter: `metaFlagsMustHave`, type: `int`
- parameter: `metaFlagsCantHave`, type: `int`
- parameter: `additions`, type: `java.lang.String`
- return type: `boolean`


## Method: genPre
- parameter: `coord`, type: `com.pnfsoftware.jeb.core.output.code.coordinates.ICodeCoordinates`
- parameter: `c`, type: `com.pnfsoftware.jeb.core.units.impl.Comment`
- parameter: `additions`, type: `java.lang.String`
- return type: `boolean`


## Method: getMargin
- return type: `int`


## Method: reset


## Method: setMargin
- parameter: `margin`, type: `int`


