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)
           
 
Method Summary
 java.util.Collection<AnnotatedElement> allAnnotatedTypes()
          Returns an unmodifiable collection of annotated element with this annotation
protected  void print(java.lang.StringBuffer sb)
          prints a meaningful string
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.InterfaceModelImpl
allImplementations, implementations
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl
allSubTypes, getInterfaces, getParent, setParent, subTypes
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
getDefiningURIs, getMethods, getReferences, 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, implementations
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.ExtensibleType
allSubTypes, getInterfaces, getParent, subTypes
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Type
getDefiningURIs, getMethods, getReferences, 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)
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)
Description copied from class: ExtensibleTypeImpl
prints a meaningful string

Overrides:
print in class InterfaceModelImpl
Parameters:
sb - the string buffer to write to.


Copyright © 2010 Oracle Corporation. All Rights Reserved.