-
public interface ITypeMetaData
Abstraction over annotation attributes that take a class (or array of classes) as their value. For example:@Command(defaultValueProvider = xxx.class)
- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeElement
getTypeElement()
Returns theTypeElement
of thetype mirror
.TypeMirror
getTypeMirror()
Returns the TypeMirror of the value.boolean
isDefault()
Returnstrue
if the annotated element did not have the annotation attribute.
-
-
-
Method Detail
-
isDefault
boolean isDefault()
Returnstrue
if the annotated element did not have the annotation attribute.- Returns:
true
if the value is the default value.
-
getTypeMirror
TypeMirror getTypeMirror()
Returns the TypeMirror of the value.- Returns:
- the TypeMirror of the
@Command(defaultValueProvider = xxx.class)
annotation.
-
getTypeElement
TypeElement getTypeElement()
Returns theTypeElement
of thetype mirror
.- Returns:
- the type mirror as a TypeElement
-
-