org.glassfish.hk2.classmodel.reflect
Interface ExtensibleType<T extends ExtensibleType>

Type Parameters:
T - parent type which is always the same as the child type (classes extends classes, interfaces extends interfaces...)
All Superinterfaces:
AnnotatedElement, Type
All Known Subinterfaces:
ClassModel, InterfaceModel
All Known Implementing Classes:
ClassModelImpl, ExtensibleTypeImpl, InterfaceModelImpl

public interface ExtensibleType<T extends ExtensibleType>
extends Type

An extensible type is a type that can be subclassed like an interface or a class.

Author:
Jerome Dochez

Method Summary
 T getParent()
          Return the parent type instance
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Type
getFieldReferences, getMethods
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotations, getName, shortDesc
 

Method Detail

getParent

T getParent()
Return the parent type instance

Returns:
the parent type instance


Copyright © 2010 Sun Microsystems, Inc.. All Rights Reserved.