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.AnnotationTypeImpl
All Implemented Interfaces:
AnnotatedElement, AnnotationType, Type

public class AnnotationTypeImpl
extends TypeImpl
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(ModelBuilder tb)
           
 
Method Summary
 void addMethod(MethodModelImpl m)
           
 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.TypeImpl
getFieldReferences, getMethods
 
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.Type
getFieldReferences, getMethods
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
 

Constructor Detail

AnnotationTypeImpl

public AnnotationTypeImpl(ModelBuilder tb)
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

addMethod

public void addMethod(MethodModelImpl m)

print

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


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