Class BaseTypeVisitor.FoundRequired

java.lang.Object
org.checkerframework.common.basetype.BaseTypeVisitor.FoundRequired
Enclosing class:
BaseTypeVisitor<Factory extends GenericAnnotatedTypeFactory<?,?,?,?>>

protected static class BaseTypeVisitor.FoundRequired extends Object
Class that lazily creates string representations of AnnotatedTypeMirrors which are only verbose if required to differentiate the two types.

The strings are evaluated lazily when toString() is called on the found or required fields. This prevents expensive formatting operations when an error is suppressed and never emitted.