org.glassfish.hk2.classmodel.reflect.impl
Class ExtensibleTypeImpl<T extends ExtensibleType>

java.lang.Object
  extended by org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
      extended by org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
          extended by org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl<T>
All Implemented Interfaces:
AnnotatedElement, ExtensibleType<T>, Type
Direct Known Subclasses:
ClassModelImpl, InterfaceModelImpl

public abstract class ExtensibleTypeImpl<T extends ExtensibleType>
extends TypeImpl
implements ExtensibleType<T>

Implementation of an extensible type (Class or Interface)


Field Summary
 
Fields inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
annotations, name
 
Constructor Summary
ExtensibleTypeImpl(ModelBuilder tb)
           
 
Method Summary
 void addMethod(MethodModelImpl m)
           
 T getParent()
          Return the parent type instance
protected  void print(java.lang.StringBuffer sb)
           
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
getFieldReferences, getMethods
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
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
getFieldReferences, getMethods
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotations, getName, shortDesc
 

Constructor Detail

ExtensibleTypeImpl

public ExtensibleTypeImpl(ModelBuilder tb)
Method Detail

addMethod

public void addMethod(MethodModelImpl m)

getParent

public T getParent()
Description copied from interface: ExtensibleType
Return the parent type instance

Specified by:
getParent in interface ExtensibleType<T extends ExtensibleType>
Returns:
the parent type instance

print

protected void print(java.lang.StringBuffer sb)
Overrides:
print in class TypeImpl


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