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 validate.tree - The tree from which the type originated.
Note that the tree might be a method tree - the
return type should then be validated.
Note that the tree might be a variable tree - the
field type should then be validated.