public interface QualifierPolymorphism
Modifier and Type | Method and Description |
---|---|
void |
resolve(AnnotatedTypeMirror.AnnotatedExecutableType functionalInterface,
AnnotatedTypeMirror.AnnotatedExecutableType memberReference)
Resolves polymorphism annotations for the given type.
|
void |
resolve(MethodInvocationTree tree,
AnnotatedTypeMirror.AnnotatedExecutableType type)
Resolves polymorphism annotations for the given type.
|
void |
resolve(NewClassTree tree,
AnnotatedTypeMirror.AnnotatedExecutableType type)
Resolves polymorphism annotations for the given type.
|
void |
resolve(VariableElement field,
AnnotatedTypeMirror owner,
AnnotatedTypeMirror type)
Resolves polymorphism annotations for the given field type.
|
void resolve(MethodInvocationTree tree, AnnotatedTypeMirror.AnnotatedExecutableType type)
tree
- the tree associated with the typetype
- the type to annotate; is side-effected by this methodvoid resolve(NewClassTree tree, AnnotatedTypeMirror.AnnotatedExecutableType type)
tree
- the tree associated with the typetype
- the type to annotate; is side-effected by this methodvoid resolve(AnnotatedTypeMirror.AnnotatedExecutableType functionalInterface, AnnotatedTypeMirror.AnnotatedExecutableType memberReference)
functionalInterface
- the function type of memberReference
memberReference
- the type of a member reference; is side-effected by this methodvoid resolve(VariableElement field, AnnotatedTypeMirror owner, AnnotatedTypeMirror type)
field
- field element to whose poly annotation must be resolvedowner
- the type of the object whose field is being typedtype
- type of the field which still has poly annotations