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

public Class EnumTypeImpl

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

Author
[email protected]

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
EnumTypeImpl(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.EnumType.getFields.

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

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

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

EnumTypeImplback to summary
public EnumTypeImpl(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.EnumType.getFields.

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

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

Annotations
@Override