Interface FieldModel
- All Superinterfaces:
AnnotatedElement
,Member
- All Known Implementing Classes:
FieldModelImpl
Model that represent the field of a class
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.hk2.classmodel.reflect.Member
Member.Type
-
Method Summary
Modifier and TypeMethodDescriptionReturns the declaring type of this field, which is a class.getType()
Returns the declared type of the fieldMethods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Member
getMemberType
-
Method Details
-
getType
ExtensibleType getType()Returns the declared type of the field- Returns:
- the field type
-
getDeclaringType
ExtensibleType getDeclaringType()Returns the declaring type of this field, which is a class.- Specified by:
getDeclaringType
in interfaceMember
- Returns:
- the field declaring class.
-