Class Default
java.lang.Object
org.checkerframework.framework.util.defaults.Default
- All Implemented Interfaces:
Comparable<Default>
Represents a mapping from an Annotation to a TypeUseLocation it should be applied to during
defaulting. The Comparable ordering of this class first tests location then tests annotation
ordering (via
AnnotationUtils
).
It also has a handy toString method that is useful for debugging.
-
Field Summary
Modifier and TypeFieldDescriptionfinal AnnotationMirror
The default annotation mirror.final TypeUseLocation
The type use location. -
Constructor Summary
ConstructorDescriptionDefault
(AnnotationMirror anno, TypeUseLocation location) Construct a Default object. -
Method Summary
-
Field Details
-
anno
The default annotation mirror. -
location
The type use location.
-
-
Constructor Details
-
Default
Construct a Default object.- Parameters:
anno
- the default annotation mirrorlocation
- the type use location
-
-
Method Details