public abstract class SurfaceSyntaxFormatterConfiguration<Q> extends Object
Constructor and Description |
---|
SurfaceSyntaxFormatterConfiguration(Q top,
Q bottom,
QualParams<Q> qualTop,
QualParams<Q> qualBottom) |
Modifier and Type | Method and Description |
---|---|
Q |
getBottom() |
QualParams<Q> |
getQualBottom() |
QualParams<Q> |
getQualTop() |
protected abstract SurfaceSyntaxQualParamsFormatter.AnnotationParts |
getTargetTypeSystemAnnotation(Q qual)
Return an AnnotationParts object that represents the equivalent
annotation of q.
|
Q |
getTop() |
protected abstract boolean |
shouldPrintAnnotation(SurfaceSyntaxQualParamsFormatter.AnnotationParts anno,
boolean printInvisibleQualifiers)
Determine if the annotation should be printed
|
public SurfaceSyntaxFormatterConfiguration(Q top, Q bottom, QualParams<Q> qualTop, QualParams<Q> qualBottom)
protected abstract boolean shouldPrintAnnotation(SurfaceSyntaxQualParamsFormatter.AnnotationParts anno, boolean printInvisibleQualifiers)
anno
- the AnnotationParts representation of the annotatinoprintInvisibleQualifiers
- if printingInvisibleQualifiers is enabledprotected abstract SurfaceSyntaxQualParamsFormatter.AnnotationParts getTargetTypeSystemAnnotation(Q qual)
qual
- the qualifierpublic Q getBottom()
public Q getTop()
public QualParams<Q> getQualBottom()
public QualParams<Q> getQualTop()