public abstract class ExtensibleTypeImpl<T extends ExtensibleType> extends TypeImpl implements ExtensibleType<T>
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<TypeProxy<InterfaceModel>> |
implementedIntf |
private java.util.List<ParameterizedInterfaceModel> |
implementedParameterizedIntf |
private TypeProxy<?> |
parent |
private java.util.List<FieldModel> |
staticFields |
| Constructor and Description |
|---|
ExtensibleTypeImpl(java.lang.String name,
TypeProxy<Type> sink,
TypeProxy parent) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addField(FieldModel field) |
(package private) void |
addStaticField(FieldModel field) |
java.util.Collection<T> |
allSubTypes()
Returns all the children subtypes (including grand children) of
this type.
|
java.util.Collection<InterfaceModel> |
getInterfaces()
Returns an unmodifiable list of interfaces implemented or extended by
this type.
|
java.util.Collection<ParameterizedInterfaceModel> |
getParameterizedInterfaces() |
T |
getParent()
Return the parent type instance.
|
java.util.Collection<FieldModel> |
getStaticFields()
Returns an unmodifiable list of static fields defined by this type
|
(package private) void |
isImplementing(ParameterizedInterfaceModelImpl pim) |
(package private) void |
isImplementing(TypeProxy<InterfaceModel> intf) |
protected void |
print(java.lang.StringBuffer sb)
prints a meaningful string
|
TypeProxy<?> |
setParent(TypeProxy<?> parent) |
java.util.Collection<T> |
subTypes()
Returns the child subtypes of this type.
|
addDefiningURI, addMethod, getDefiningURIs, getMethods, getProxy, getReferences, wasDefinedInaddAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefiningURIs, getMethods, getReferences, wasDefinedIngetAnnotation, getAnnotations, getName, shortDescprivate TypeProxy<?> parent
private final java.util.List<FieldModel> staticFields
private final java.util.List<TypeProxy<InterfaceModel>> implementedIntf
private final java.util.List<ParameterizedInterfaceModel> implementedParameterizedIntf
public T getParent()
ExtensibleTypegetParent in interface ExtensibleType<T extends ExtensibleType>void isImplementing(TypeProxy<InterfaceModel> intf)
void isImplementing(ParameterizedInterfaceModelImpl pim)
public java.util.Collection<InterfaceModel> getInterfaces()
ExtensibleTypegetInterfaces in interface ExtensibleType<T extends ExtensibleType>public java.util.Collection<ParameterizedInterfaceModel> getParameterizedInterfaces()
getParameterizedInterfaces in interface ExtensibleType<T extends ExtensibleType>public java.util.Collection<T> subTypes()
ExtensibleTypesubTypes in interface ExtensibleType<T extends ExtensibleType>public java.util.Collection<T> allSubTypes()
ExtensibleTypeallSubTypes in interface ExtensibleType<T extends ExtensibleType>void addStaticField(FieldModel field)
void addField(FieldModel field)
public java.util.Collection<FieldModel> getStaticFields()
ExtensibleTypegetStaticFields in interface ExtensibleType<T extends ExtensibleType>