Class ClassModelImpl
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl<ClassModel>
org.glassfish.hk2.classmodel.reflect.impl.ClassModelImpl
- All Implemented Interfaces:
AnnotatedElement, ClassModel, ExtensibleType<ClassModel>, Type
Implementation of a class model
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddField(FieldModel field) Returns an unmodifiable collection of fields models that represent all the declared fields of this classes.protected voidprint(StringBuffer sb) prints a meaningful stringMethods inherited from class ExtensibleTypeImpl
addStaticField, allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, isImplementing, isImplementing, setParent, subTypesMethods inherited from class TypeImpl
addDefiningURI, addMethod, getDefiningURIs, getMethods, getProxy, getReferences, wasDefinedInMethods inherited from class AnnotatedElementImpl
addAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
Field Details
-
fields
-
-
Constructor Details
-
ClassModelImpl
-
-
Method Details
-
addField
- Overrides:
addFieldin classExtensibleTypeImpl<ClassModel>
-
getFields
Description copied from interface:ClassModelReturns an unmodifiable collection of fields models that represent all the declared fields of this classes.- Specified by:
getFieldsin interfaceClassModel- Returns:
- collection of declared fields
-
print
Description copied from class:ExtensibleTypeImplprints a meaningful string- Overrides:
printin classExtensibleTypeImpl<ClassModel>- Parameters:
sb- the string buffer to write to.
-