public class ClassModelImpl extends ExtensibleTypeImpl<ClassModel> implements ClassModel
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<FieldModel> |
fields |
Constructor and Description |
---|
ClassModelImpl(java.lang.String name,
TypeProxy<Type> sink,
TypeProxy parent) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addField(FieldModel field) |
java.util.Collection<FieldModel> |
getFields()
Returns an unmodifiable collection of fields models that represent
all the declared fields of this classes.
|
protected void |
print(java.lang.StringBuffer sb)
prints a meaningful string
|
addStaticField, allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, isImplementing, isImplementing, setParent, subTypes
addDefiningURI, addMethod, getDefiningURIs, getMethods, getProxy, getReferences, wasDefinedIn
addAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, subTypes
getDefiningURIs, getMethods, getReferences, wasDefinedIn
getAnnotation, getAnnotations, getName, shortDesc
final java.util.List<FieldModel> fields
void addField(FieldModel field)
addField
in class ExtensibleTypeImpl<ClassModel>
public java.util.Collection<FieldModel> getFields()
ClassModel
getFields
in interface ClassModel
protected void print(java.lang.StringBuffer sb)
ExtensibleTypeImpl
print
in class ExtensibleTypeImpl<ClassModel>
sb
- the string buffer to write to.