|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl<T>
public abstract class ExtensibleTypeImpl<T extends ExtensibleType>
Implementation of an extensible type (Class or Interface)
| Constructor Summary | |
|---|---|
ExtensibleTypeImpl(String name,
TypeProxy<Type> sink,
TypeProxy parent)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.TypeImpl |
|---|
getDefiningURIs, getMethods, getReferences, wasDefinedIn |
| Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl |
|---|
getAnnotation, getAnnotations, getName, shortDesc, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Type |
|---|
getDefiningURIs, getMethods, getReferences, wasDefinedIn |
| Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement |
|---|
getAnnotation, getAnnotations, getName, shortDesc |
| Constructor Detail |
|---|
public ExtensibleTypeImpl(String name,
TypeProxy<Type> sink,
TypeProxy parent)
| Method Detail |
|---|
public T getParent()
ExtensibleType
getParent in interface ExtensibleType<T extends ExtensibleType>public TypeProxy<?> setParent(TypeProxy<?> parent)
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)
print in class TypeImplsb - the string buffer to write to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||