protected static class NullnessAnnotatedTypeFormatter.NullnessFormattingVisitor extends DefaultAnnotatedTypeFormatter.FormattingVisitor
annoFormatter, currentPrintInvisibleSetting, currentPrintVerboseGenerics, defaultInvisiblesSetting, defaultPrintVerboseGenerics
Constructor and Description |
---|
NullnessFormattingVisitor(AnnotationFormatter annoFormatter,
boolean printVerboseGenerics,
boolean defaultInvisiblesSetting) |
Modifier and Type | Method and Description |
---|---|
String |
visitNull(AnnotatedTypeMirror.AnnotatedNullType type,
Set<AnnotatedTypeMirror> visiting)
Visits a
null type. |
formatFlatType, printBound, resetPrintVerboseSettings, setVerboseSettings, visit, visit, visitArray, visitDeclared, visitExecutable, visitIntersection, visitNoType, visitPrimitive, visitTypeVariable, visitUnion, visitWildcard
public NullnessFormattingVisitor(AnnotationFormatter annoFormatter, boolean printVerboseGenerics, boolean defaultInvisiblesSetting)
public String visitNull(AnnotatedTypeMirror.AnnotatedNullType type, Set<AnnotatedTypeMirror> visiting)
AnnotatedTypeVisitor
null
type.visitNull
in interface AnnotatedTypeVisitor<String,Set<AnnotatedTypeMirror>>
visitNull
in class DefaultAnnotatedTypeFormatter.FormattingVisitor
type
- the type to visitvisiting
- a visitor-specified parameter