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

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

public class AnnotationTypeImpl
extends InterfaceModelImpl
implements AnnotationType

Implementation of an annoation model


Field Summary
 
Fields inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
annotations, name
 
Constructor Summary
AnnotationTypeImpl(java.lang.String name, TypeProxy<Type> sink, java.net.URI definingURI)
           
 
Method Summary
 java.util.Collection<AnnotatedElement> allAnnotatedTypes()
          Returns an unmodifiable collection of annotated element with this annotation
protected  void print(java.lang.StringBuffer sb)
           
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.InterfaceModelImpl
allImplementations
 
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.InterfaceModel
allImplementations
 
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

AnnotationTypeImpl

public AnnotationTypeImpl(java.lang.String name,
                          TypeProxy<Type> sink,
                          java.net.URI definingURI)
Method Detail

allAnnotatedTypes

public java.util.Collection<AnnotatedElement> allAnnotatedTypes()
Description copied from interface: AnnotationType
Returns an unmodifiable collection of annotated element with this annotation

Specified by:
allAnnotatedTypes in interface AnnotationType
Returns:
collection of elements annotated with this annotation

print

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


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