public class QualifierUpperBounds
extends java.lang.Object
Constructor and Description |
---|
QualifierUpperBounds(AnnotatedTypeFactory typeFactory)
Creates a
QualifierUpperBounds from the given checker, using that checker to
determine the annotations that are in the type hierarchy. |
Modifier and Type | Method and Description |
---|---|
void |
addType(java.lang.Class<?> type,
javax.lang.model.element.AnnotationMirror theQual)
Add default qualifier,
theQual , for the given class. |
void |
addTypeKind(javax.lang.model.type.TypeKind typeKind,
javax.lang.model.element.AnnotationMirror theQual)
Add default qualifier,
theQual , for the given TypeKind. |
protected java.util.Set<javax.lang.model.element.AnnotationMirror> |
getBoundQualifiers(javax.lang.model.type.TypeMirror type)
Returns the set of qualifiers that are the upper bounds for a use of the type.
|
public QualifierUpperBounds(AnnotatedTypeFactory typeFactory)
QualifierUpperBounds
from the given checker, using that checker to
determine the annotations that are in the type hierarchy.public void addTypeKind(javax.lang.model.type.TypeKind typeKind, javax.lang.model.element.AnnotationMirror theQual)
theQual
, for the given TypeKind.public void addType(java.lang.Class<?> type, javax.lang.model.element.AnnotationMirror theQual)
theQual
, for the given class.protected java.util.Set<javax.lang.model.element.AnnotationMirror> getBoundQualifiers(javax.lang.model.type.TypeMirror type)