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

public Class ClassModelImpl

extends ExtensibleTypeImpl<ClassModel>
implements ClassModel
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.classmodel.reflect.ClassModel, org.glassfish.hk2.classmodel.reflect.ExtensibleType, org.glassfish.hk2.classmodel.reflect.Type, org.glassfish.hk2.classmodel.reflect.AnnotatedElement
Imports
org.glassfish.hk2.classmodel.reflect.*, java.util.*, java.util.concurrent.locks.ReentrantLock

Implementation of a class model

Field Summary

Modifier and TypeField and Description
pack-priv final List<FieldModel>
private final ReentrantLock
Inherited from org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl:
parent

Constructor Summary

AccessConstructor and Description
public
ClassModelImpl(String name, TypeProxy<Type> sink, TypeProxy<T extends Type> parent)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public Collection<FieldModel>
getFields()

Implements org.glassfish.hk2.classmodel.reflect.ClassModel.getFields.

Returns an unmodifiable collection of fields models that represent all the declared fields of this classes.

Inherited from org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl:
addStaticFieldallSubTypesgetFormalTypeParametersgetInterfacesgetParameterizedInterfacegetParameterizedInterfacesgetParentgetSimpleNamegetStaticFieldsisImplementingisImplementingisInstanceOfsetFormalTypeParameterssetParentsubTypes

Field Detail

fieldsback to summary
pack-priv final List<FieldModel> fields
lockback to summary
private final ReentrantLock lock

Hides org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl.lock.

Constructor Detail

ClassModelImplback to summary
public ClassModelImpl(String name, TypeProxy<Type> sink, TypeProxy<T extends Type> parent)

Method Detail

addFieldback to summary
pack-priv void addField(FieldModel field)

Overrides org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl.addField.

Annotations
@Override
getFieldsback to summary
public Collection<FieldModel> getFields()

Implements org.glassfish.hk2.classmodel.reflect.ClassModel.getFields.

Doc from org.glassfish.hk2.classmodel.reflect.ClassModel.getFields.

Returns an unmodifiable collection of fields models that represent all the declared fields of this classes.

Annotations
@Override