Interface ClassModel
- All Superinterfaces:
AnnotatedElement
,ExtensibleType<ClassModel>
,Type
- All Known Implementing Classes:
ClassModelImpl
Model that represents a class
-
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiable collection of fields models that represent all the declared fields of this classes.Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.ExtensibleType
allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, subTypes
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Type
getDefiningURIs, getMethods, getReferences, wasDefinedIn
-
Method Details
-
getFields
Collection<FieldModel> getFields()Returns an unmodifiable collection of fields models that represent all the declared fields of this classes.- Returns:
- collection of declared fields
-