Class DefaultForTypeAnnotator

All Implemented Interfaces:
AnnotatedTypeVisitor<Void,Void>

public class DefaultForTypeAnnotator extends TypeAnnotator
Adds annotations to a type based on the use of a type. This class applies annotations specified by DefaultFor; it is designed to be used in a ListTypeAnnotator constructed in GenericAnnotatedTypeFactory.createTypeAnnotator() ()}

DefaultForTypeAnnotator traverses types deeply.

This class takes care of two of the attributes of DefaultFor; the others are handled in QualifierDefaults.

See Also: