Top Description Fields Constructors Methods
org.glassfish.hk2.classmodel.reflect.impl

public Class FieldModelImpl

extends AnnotatedElementImpl
implements FieldModel
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.classmodel.reflect.FieldModel, org.glassfish.hk2.classmodel.reflect.ParameterizedType, org.glassfish.hk2.classmodel.reflect.AnnotatedElement, org.glassfish.hk2.classmodel.reflect.Member
Imports
java.util.ArrayList, .List, org.glassfish.hk2.classmodel.reflect.ExtensibleType, .FieldModel, .ParameterizedType, org.objectweb.asm.Opcodes

Implementation of a field model

Field Summary

Modifier and TypeField and Description
private int
private final ExtensibleType<T extends ExtensibleType>
private String
private final List<ParameterizedType>
private Type
private TypeProxy<T extends Type>

Constructor Summary

AccessConstructor and Description
public
FieldModelImpl(String name, TypeProxy<T extends Type> typeProxy, ExtensibleType<T extends ExtensibleType> declaringType)

Method Summary

Modifier and TypeMethod and Description
public ExtensibleType<T extends ExtensibleType>
getDeclaringType()

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.getDeclaringType.

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

public String
getDeclaringTypeName()

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.getDeclaringTypeName.

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

public String
public Member.Type
public List<ParameterizedType>
public ExtensibleType<T extends ExtensibleType>
getType()

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.getType.

Returns the declared type of the field

public String
getTypeName()

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.getTypeName.

Returns the declared type name of the field

public TypeProxy<?>
public boolean
public boolean
public boolean
public void
setAccess(int access)

public void
setFormalType(String formalType)

public void
setType(Type type)

public void
setTypeProxy(TypeProxy<T extends Type> typeProxy)

Inherited from org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl:
addAnnotationgetAnnotationgetAnnotationsgetNameisApplicationClasssetApplicationClassshortDesctoString

Field Detail

accessback to summary
private int access
declaringTypeback to summary
private final ExtensibleType<T extends ExtensibleType> declaringType
formalTypeback to summary
private String formalType
parameterizedTypesback to summary
private final List<ParameterizedType> parameterizedTypes
typeback to summary
private Type type
typeProxyback to summary
private TypeProxy<T extends Type> typeProxy

Constructor Detail

FieldModelImplback to summary
public FieldModelImpl(String name, TypeProxy<T extends Type> typeProxy, ExtensibleType<T extends ExtensibleType> declaringType)

Method Detail

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

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.getDeclaringType.

Doc from org.glassfish.hk2.classmodel.reflect.FieldModel.getDeclaringType.

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

Annotations
@Override
getDeclaringTypeNameback to summary
public String getDeclaringTypeName()

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.getDeclaringTypeName.

Doc from org.glassfish.hk2.classmodel.reflect.FieldModel.getDeclaringTypeName.

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

Annotations
@Override
getFormalTypeback to summary
public String getFormalType()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.getFormalType.

Doc from org.glassfish.hk2.classmodel.reflect.ParameterizedType.getFormalType.

Returns the formal type name

Annotations
@Override
getMemberTypeback to summary
public Member.Type getMemberType()

Implements org.glassfish.hk2.classmodel.reflect.Member.getMemberType.

Doc from org.glassfish.hk2.classmodel.reflect.Member.getMemberType.

returns the type of the member

Annotations
@Override
getParameterizedTypesback to summary
public List<ParameterizedType> getParameterizedTypes()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.getParameterizedTypes.

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

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.getType.

Doc from org.glassfish.hk2.classmodel.reflect.FieldModel.getType.

Returns the declared type of the field

Annotations
@Override
getTypeNameback to summary
public String getTypeName()

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.getTypeName.

Doc from org.glassfish.hk2.classmodel.reflect.FieldModel.getTypeName.

Returns the declared type name of the field

Annotations
@Override
getTypeProxyback to summary
public TypeProxy<?> getTypeProxy()
isArrayback to summary
public boolean isArray()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.isArray.

Annotations
@Override
isFormalTypeback to summary
public boolean isFormalType()

Implements org.glassfish.hk2.classmodel.reflect.ParameterizedType.isFormalType.

Annotations
@Override
isTransientback to summary
public boolean isTransient()

Implements org.glassfish.hk2.classmodel.reflect.FieldModel.isTransient.

Annotations
@Override
setAccessback to summary
public void setAccess(int access)
setFormalTypeback to summary
public void setFormalType(String formalType)
setTypeback to summary
public void setType(Type type)
setTypeProxyback to summary
public void setTypeProxy(TypeProxy<T extends Type> typeProxy)