Class FieldModelImpl
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
org.glassfish.hk2.classmodel.reflect.impl.FieldModelImpl
- All Implemented Interfaces:
AnnotatedElement, FieldModel, Member
Implementation of a field model
-
Nested Class Summary
Nested classes/interfaces inherited from interface Member
Member.Type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the declaring type of this field, which is a class.returns the type of the membergetType()Returns the declared type of the fieldprotected voidprint(StringBuffer sb) Methods inherited from class AnnotatedElementImpl
addAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
-
Field Details
-
type
-
declaringType
-
-
Constructor Details
-
FieldModelImpl
-
-
Method Details
-
getMemberType
Description copied from interface:Memberreturns the type of the member- Specified by:
getMemberTypein interfaceMember- Returns:
- the member type as a value of @link{Member#Type}
-
getDeclaringType
Description copied from interface:FieldModelReturns the declaring type of this field, which is a class.- Specified by:
getDeclaringTypein interfaceFieldModel- Specified by:
getDeclaringTypein interfaceMember- Returns:
- the field declaring class.
-
getType
Description copied from interface:FieldModelReturns the declared type of the field- Specified by:
getTypein interfaceFieldModel- Returns:
- the field type
-
print
- Overrides:
printin classAnnotatedElementImpl
-