org.glassfish.hk2.classmodel.reflect.impl
Class InterfaceModelImpl

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<InterfaceModel>
              extended by org.glassfish.hk2.classmodel.reflect.impl.InterfaceModelImpl
All Implemented Interfaces:
AnnotatedElement, ExtensibleType<InterfaceModel>, InterfaceModel, Type

public class InterfaceModelImpl
extends ExtensibleTypeImpl<InterfaceModel>
implements InterfaceModel

Implementation of an interface model


Field Summary
 java.util.Map<java.lang.String,ClassModel> implementors
           
 
Fields inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
annotations, name
 
Constructor Summary
InterfaceModelImpl(ModelBuilder tb)
           
 
Method Summary
 java.util.Collection<ClassModel> allImplementations()
          Returns a unmodifiable collection of all classes implementing this interface.
protected  void print(java.lang.StringBuffer sb)
           
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl
addMethod, getParent
 
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.ExtensibleType
getParent
 
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
 

Field Detail

implementors

public final java.util.Map<java.lang.String,ClassModel> implementors
Constructor Detail

InterfaceModelImpl

public InterfaceModelImpl(ModelBuilder tb)
Method Detail

allImplementations

public java.util.Collection<ClassModel> allImplementations()
Description copied from interface: InterfaceModel
Returns a unmodifiable collection of all classes implementing this interface.

Specified by:
allImplementations in interface InterfaceModel
Returns:
list of classes implementing this interface

print

protected void print(java.lang.StringBuffer sb)
Overrides:
print in class ExtensibleTypeImpl<InterfaceModel>


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