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
Direct Known Subclasses:
AnnotationTypeImpl

public class InterfaceModelImpl
extends ExtensibleTypeImpl<InterfaceModel>
implements InterfaceModel

Implementation of an interface model


Field Summary
 
Fields inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
annotations, name
 
Constructor Summary
InterfaceModelImpl(java.lang.String name, TypeProxy<Type> sink, java.net.URI definingURI, TypeProxy parent)
           
 
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
getParent
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
getDefiningURIs, getFieldReferences, getMethods, 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.ExtensibleType
getParent
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Type
getDefiningURIs, getFieldReferences, getMethods, wasDefinedIn
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
 

Constructor Detail

InterfaceModelImpl

public InterfaceModelImpl(java.lang.String name,
                          TypeProxy<Type> sink,
                          java.net.URI definingURI,
                          TypeProxy parent)
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.