|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Type
The Type
interface is used to represent a method or
field that has been annotated for serialization. Representing
methods and fields as a generic type object allows various
common details to be extracted in a uniform way. It allows all
annotations on the method or field to be exposed. This can
also wrap classes that represent entries to a list or map.
Method Summary | ||
---|---|---|
|
getAnnotation(java.lang.Class<T> type)
This is the annotation associated with the method or field that has been annotated. |
|
java.lang.Class |
getType()
This will provide the method or field type. |
|
java.lang.String |
toString()
This is used to describe the type as it exists within the owning class. |
Method Detail |
---|
java.lang.Class getType()
<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> type)
java.util.List
then
this will return null for any annotation requested.
type
- this is the type of the annotation to acquire
java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |