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.
|
Map<String,ParameterizedInterfaceModel> |
getFormalTypeParameters()
Represents the raw generic type and bounded parameterized type.
|
Collection<InterfaceModel> |
getInterfaces()
Returns an unmodifiable list of interfaces implemented or extended by
this type.
|
ParameterizedInterfaceModel |
getParameterizedInterface(ExtensibleType type) |
Collection<ParameterizedInterfaceModel> |
getParameterizedInterfaces() |
T |
getParent()
Return the parent type instance.
|
String |
getSimpleName()
Returns the unqualified name of the underlying type.
|
Collection<FieldModel> |
getStaticFields()
Returns an unmodifiable list of static fields defined by this type
|
boolean |
isInstanceOf(String name)
Whether the type is an instance of the specified parent type or not.
|
protected void |
print(StringBuffer sb)
prints a meaningful string
|
void |
setFormalTypeParameters(Map<String,ParameterizedInterfaceModel> typeParameters) |
TypeProxy<?> |
setParent(TypeProxy<?> parent) |
Collection<T> |
subTypes()
Returns the child subtypes of this type.
|
getDefiningURIs, getMethods, getReferences, wasDefinedIngetAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefiningURIs, getMethods, getReferences, wasDefinedIngetAnnotation, getAnnotations, getName, shortDescprotected TypeProxy<?> parent
public Map<String,ParameterizedInterfaceModel> getFormalTypeParameters()
ExtensibleTypegetFormalTypeParameters in interface ExtensibleType<T extends ExtensibleType>public void setFormalTypeParameters(Map<String,ParameterizedInterfaceModel> typeParameters)
public T getParent()
ExtensibleTypegetParent in interface ExtensibleType<T extends ExtensibleType>public boolean isInstanceOf(String name)
ExtensibleTypeisInstanceOf in interface ExtensibleType<T extends ExtensibleType>public String getSimpleName()
ExtensibleTypegetSimpleName in interface ExtensibleType<T extends ExtensibleType>public Collection<InterfaceModel> getInterfaces()
ExtensibleTypegetInterfaces in interface ExtensibleType<T extends ExtensibleType>public Collection<ParameterizedInterfaceModel> getParameterizedInterfaces()
getParameterizedInterfaces in interface ExtensibleType<T extends ExtensibleType>public ParameterizedInterfaceModel getParameterizedInterface(ExtensibleType type)
getParameterizedInterface in interface ExtensibleType<T extends ExtensibleType>type - the extensible typepublic Collection<T> subTypes()
ExtensibleTypesubTypes in interface ExtensibleType<T extends ExtensibleType>public Collection<T> allSubTypes()
ExtensibleTypeallSubTypes in interface ExtensibleType<T extends ExtensibleType>public Collection<FieldModel> getStaticFields()
ExtensibleTypegetStaticFields in interface ExtensibleType<T extends ExtensibleType>protected void print(StringBuffer sb)
Copyright © 2009–2022 Oracle Corporation. All rights reserved.