public void setPrintSupertype(boolean printSupertype) {
        this.printSupertype = printSupertype;
    }
Create a new BeanSerializer

@param propertyAnnotations      true, to serialize property annotations
@param javadocSuffix            suffix to be used after the simple name in class level javadoc
@param generatedAnnotationClass the fully qualified class name of the <em>Single-Element Annotation</em> (with {@code String} element) to be used on the generated classes.
     * @see <a href="https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.7.3">Single-Element Annotation</a>
querydsl-codegen/src/main/java/com/querydsl/codegen/BeanSerializer.java