Module org.glassfish.hk2.classmodel
Interface FieldModel
- All Superinterfaces:
AnnotatedElement,Member,ParameterizedType
- All Known Implementing Classes:
FieldModelImpl
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
Modifier and TypeMethodDescriptionReturns the declaring type of this field, which is a class.Returns the declaring type name of this field, which is a class.getType()Returns the declared type of the fieldReturns the declared type name of the fieldbooleanMethods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDescMethods inherited from interface org.glassfish.hk2.classmodel.reflect.Member
getMemberTypeMethods inherited from interface org.glassfish.hk2.classmodel.reflect.ParameterizedType
getFormalType, getParameterizedTypes, isArray, isFormalType
-
Method Details
-
getType
ExtensibleType getType()Returns the declared type of the field- Specified by:
getTypein interfaceParameterizedType- Returns:
- the field type
-
getTypeName
String getTypeName()Returns the declared type name of the field- Specified by:
getTypeNamein interfaceParameterizedType- Returns:
- the field type name
-
getDeclaringType
ExtensibleType getDeclaringType()Returns the declaring type of this field, which is a class.- Specified by:
getDeclaringTypein interfaceMember- Returns:
- the field declaring class.
-
getDeclaringTypeName
String getDeclaringTypeName()Returns the declaring type name of this field, which is a class.- Returns:
- the field declaring class name.
-
isTransient
boolean isTransient()- Returns:
- true, if field is marked transient.
-