Class LiteralTreeAnnotator

All Implemented Interfaces:
TreeVisitor<Void,AnnotatedTypeMirror>

public class LiteralTreeAnnotator extends TreeAnnotator
Adds annotations to a type based on the contents of a tree. This class applies annotations specified by QualifierForLiterals; it is designed to be added to a ListTreeAnnotator via GenericAnnotatedTypeFactory.createTreeAnnotator()

LiteralTreeAnnotator does not traverse trees deeply.

See Also: