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 AnnotatedElement
getAnnotation, getAnnotations, getName, shortDescMethods inherited from interface ExtensibleType
allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, subTypesMethods inherited from interface 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
-