|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcheckers.util.QualifierDefaults
public class QualifierDefaults
Determines the default qualifiers on a type.
Default qualifiers are specified via the DefaultQualifier annotation.
DefaultQualifier| Constructor Summary | |
|---|---|
QualifierDefaults(AnnotatedTypeFactory factory,
AnnotationUtils annoFactory)
|
|
| Method Summary | |
|---|---|
void |
annotate(Element elt,
AnnotatedTypeMirror type)
Applies default annotations to a type given an Element. |
void |
annotate(Tree tree,
AnnotatedTypeMirror type)
Applies default annotations to a type given a Tree. |
void |
annotateTypeElement(TypeElement elt,
AnnotatedTypeMirror type)
|
void |
setAbsoluteDefaults(AnnotationMirror absoluteDefaultAnno,
Set<DefaultLocation> locations)
Sets the absolute default annotation in case a class does specify a default |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QualifierDefaults(AnnotatedTypeFactory factory,
AnnotationUtils annoFactory)
factory - the factory for this checkerannoFactory - an annotation factory, used to get annotations by name| Method Detail |
|---|
public void setAbsoluteDefaults(AnnotationMirror absoluteDefaultAnno,
Set<DefaultLocation> locations)
public void annotateTypeElement(TypeElement elt,
AnnotatedTypeMirror type)
public void annotate(Element elt,
AnnotatedTypeMirror type)
Element.
elt - the element from which the type was obtainedtype - the type to annotate
public void annotate(Tree tree,
AnnotatedTypeMirror type)
Tree.
tree - the tree from which the type was obtainedtype - the type to annotate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||