java.lang.reflect.AnnotatedElement
| Modifier and Type | Field and Description |
|---|---|
| private final transient Method | element
The |
| private final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | AnnotationTypeMismatchException(Method
the element, String Method object for the annotation
element, may be nullthe (erroneous) type of data found in the annotation.
This string may, but is not required to, contain the value
as well. The exact format of the string is unspecified,
may be foundType)null.Constructs an AnnotationTypeMismatchException for the specified annotation type element and found data type. |
| Modifier and Type | Method and Description |
|---|---|
| public Method | Returns: theMethod object for the incorrectly typed
element, or null if unavailableReturns the |
| public String | Returns: the type of data found in the incorrectly typed elementReturns the type of data found in the incorrectly typed element. |
| element | back to summary |
|---|---|
| private final transient Method element The | |
| foundType | back to summary |
|---|---|
| private final String foundType | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| AnnotationTypeMismatchException | back to summary |
|---|---|
| public AnnotationTypeMismatchException(Method element, String foundType) Constructs an AnnotationTypeMismatchException for the specified annotation type element and found data type. | |
| element | back to summary |
|---|---|
| public Method element() Returns the
| |
| foundType | back to summary |
|---|---|
| public String foundType() Returns the type of data found in the incorrectly typed element.
The returned string may, but is not required to, contain the value
as well. The exact format of the string is unspecified and the string
may be
| |