public interface TypeValidator
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(AnnotatedTypeMirror type,
Tree tree)
The entry point to the type validator.
|
boolean isValid(AnnotatedTypeMirror type, Tree tree)
type
- the type to validatetree
- the tree from which the type originated. If the tree is a method tree, then
validate its return type. If the tree is a variable tree, then validate its field type.