public class Default extends Object implements Comparable<Default>
AnnotationUtils
).
It also has a handy toString method that is useful for debugging.
Modifier and Type | Field and Description |
---|---|
AnnotationMirror |
anno
The default annotation mirror.
|
boolean |
applyToSubpackages
Whether the default should be inherited by subpackages.
|
TypeUseLocation |
location
The type use location.
|
Constructor and Description |
---|
Default(AnnotationMirror anno,
TypeUseLocation location,
boolean applyToSubpackages)
Construct a Default object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Default other) |
boolean |
equals(@Nullable Object thatObj) |
int |
hashCode() |
String |
toString() |
public final AnnotationMirror anno
public final TypeUseLocation location
public final boolean applyToSubpackages
public Default(AnnotationMirror anno, TypeUseLocation location, boolean applyToSubpackages)
anno
- the default annotation mirrorlocation
- the type use locationapplyToSubpackages
- whether the default should be inherited by subpackagespublic int compareTo(Default other)
compareTo
in interface Comparable<Default>