Top Description Methods
org.glassfish.hk2.classmodel.reflect

public Interface FieldModel

extends Member, AnnotatedElement, ParameterizedType
Known Direct Implementers
org.glassfish.hk2.classmodel.reflect.impl.FieldModelImpl

Model that represent the field of a class
Author
Jerome Dochez

Method Summary

Modifier and TypeMethod and Description
public ExtensibleType<T extends ExtensibleType>

Returns:

the field declaring class.
getDeclaringType
()

Redeclares org.glassfish.hk2.classmodel.reflect.Member.getDeclaringType.

Returns the declaring type of this field, which is a class.

public String

Returns:

the field declaring class name.
getDeclaringTypeName
()

Returns the declaring type name of this field, which is a class.

public ExtensibleType<T extends ExtensibleType>

Returns:

the field type
getType
()

Redeclares org.glassfish.hk2.classmodel.reflect.ParameterizedType.getType.

Returns the declared type of the field

public String

Returns:

the field type name
getTypeName
()

Redeclares org.glassfish.hk2.classmodel.reflect.ParameterizedType.getTypeName.

Returns the declared type name of the field

public boolean
isTransient()

Returns: true, if field is marked transient.

Inherited from org.glassfish.hk2.classmodel.reflect.AnnotatedElement:
getAnnotationgetAnnotationsgetNameshortDesc
Inherited from org.glassfish.hk2.classmodel.reflect.Member:
getMemberType
Inherited from org.glassfish.hk2.classmodel.reflect.ParameterizedType:
getFormalTypegetParameterizedTypesisArrayisFormalType

Method Detail

getDeclaringTypeback to summary
public ExtensibleType<T extends ExtensibleType> getDeclaringType()

Redeclares org.glassfish.hk2.classmodel.reflect.Member.getDeclaringType.

Returns the declaring type of this field, which is a class.

Returns:ExtensibleType<T extends ExtensibleType>

the field declaring class.

getDeclaringTypeNameback to summary
public String getDeclaringTypeName()

Returns the declaring type name of this field, which is a class.

Returns:String

the field declaring class name.

getTypeback to summary
public ExtensibleType<T extends ExtensibleType> getType()

Redeclares org.glassfish.hk2.classmodel.reflect.ParameterizedType.getType.

Returns the declared type of the field

Returns:ExtensibleType<T extends ExtensibleType>

the field type

getTypeNameback to summary
public String getTypeName()

Redeclares org.glassfish.hk2.classmodel.reflect.ParameterizedType.getTypeName.

Returns the declared type name of the field

Returns:String

the field type name

isTransientback to summary
public boolean isTransient()
Returns:boolean

true, if field is marked transient.