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

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

public class AnnotationModelImpl
extends TypeImpl
implements AnnotationModel

Implementation of an annoation model


Field Summary
 
Fields inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
annotations, name
 
Constructor Summary
AnnotationModelImpl(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
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
getAnnotations, getName, shortDesc
 

Constructor Detail

AnnotationModelImpl

public AnnotationModelImpl(ModelBuilder tb)
Method Detail

allAnnotatedTypes

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

Specified by:
allAnnotatedTypes in interface AnnotationModel
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.