org.glassfish.hk2.classmodel.reflect
Interface FieldModel

All Superinterfaces:
AnnotatedElement, Member
All Known Implementing Classes:
FieldModelImpl

public interface FieldModel
extends Member, AnnotatedElement

Model that represent the field of a class

Author:
Jerome Dochez

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.hk2.classmodel.reflect.Member
Member.Type
 
Method Summary
 ExtensibleType getDeclaringType()
          Returns the declaring type of this field, which is a class.
 ExtensibleType getType()
          Returns the declared type of the field
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Member
getMemberType
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
 

Method Detail

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 interface Member
Returns:
the field declaring class.


Copyright © 2013 Oracle Corporation. All Rights Reserved.