public abstract class ExtensibleTypeImpl<T extends ExtensibleType> extends TypeImpl implements ExtensibleType<T>
Constructor and Description |
---|
ExtensibleTypeImpl(String name,
TypeProxy<Type> sink,
TypeProxy parent) |
Modifier and Type | Method and Description |
---|---|
Collection<T> |
allSubTypes()
Returns all the children subtypes (including grand children) of
this type.
|
Collection<InterfaceModel> |
getInterfaces()
Returns an unmodifiable list of interfaces implemented or extended by
this type.
|
Collection<ParameterizedInterfaceModel> |
getParameterizedInterfaces() |
T |
getParent()
Return the parent type instance.
|
Collection<FieldModel> |
getStaticFields()
Returns an unmodifiable list of static fields defined by this type
|
protected void |
print(StringBuffer sb)
prints a meaningful string
|
TypeProxy<?> |
setParent(TypeProxy<?> parent) |
Collection<T> |
subTypes()
Returns the child subtypes of this type.
|
getDefiningURIs, getMethods, getReferences, wasDefinedIn
getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDefiningURIs, getMethods, getReferences, wasDefinedIn
getAnnotation, getAnnotations, getName, shortDesc
public T getParent()
ExtensibleType
getParent
in interface ExtensibleType<T extends ExtensibleType>
public Collection<InterfaceModel> getInterfaces()
ExtensibleType
getInterfaces
in interface ExtensibleType<T extends ExtensibleType>
public Collection<ParameterizedInterfaceModel> getParameterizedInterfaces()
getParameterizedInterfaces
in interface ExtensibleType<T extends ExtensibleType>
public Collection<T> subTypes()
ExtensibleType
subTypes
in interface ExtensibleType<T extends ExtensibleType>
public Collection<T> allSubTypes()
ExtensibleType
allSubTypes
in interface ExtensibleType<T extends ExtensibleType>
public Collection<FieldModel> getStaticFields()
ExtensibleType
getStaticFields
in interface ExtensibleType<T extends ExtensibleType>
protected void print(StringBuffer sb)
Copyright © 2009–2023 Oracle Corporation. All rights reserved.