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

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

public class ClassModelImpl
extends ExtensibleTypeImpl<ClassModel>
implements ClassModel

Implementation of a class model


Field Summary
 
Fields inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
annotations, name
 
Constructor Summary
ClassModelImpl(ModelBuilder tb)
           
 
Method Summary
 java.util.Collection<FieldModel> getFields()
          Returns an unmodifiable collection of fields models that represent all the declared fields of this classes.
 java.util.Collection<InterfaceModel> getInterfaces()
          Returns an unmodifiable list of interfaces implemented by this class
protected  void print(java.lang.StringBuffer sb)
           
 
Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl
addMethod, getParent
 
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.ExtensibleType
getParent
 
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

ClassModelImpl

public ClassModelImpl(ModelBuilder tb)
Method Detail

getInterfaces

public java.util.Collection<InterfaceModel> getInterfaces()
Description copied from interface: ClassModel
Returns an unmodifiable list of interfaces implemented by this class

Specified by:
getInterfaces in interface ClassModel
Returns:
collection of implemented interfaces

getFields

public java.util.Collection<FieldModel> getFields()
Description copied from interface: ClassModel
Returns an unmodifiable collection of fields models that represent all the declared fields of this classes.

Specified by:
getFields in interface ClassModel
Returns:
collection of declared fields

print

protected void print(java.lang.StringBuffer sb)
Overrides:
print in class ExtensibleTypeImpl<ClassModel>


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