org.glassfish.hk2.classmodel.reflect
Interface ClassModel

All Superinterfaces:
AnnotatedElement, ExtensibleType<ClassModel>, Type
All Known Implementing Classes:
ClassModelImpl

public interface ClassModel
extends ExtensibleType<ClassModel>

Model that represents a class

Author:
Jerome Dochez

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
 
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
 

Method Detail

getInterfaces

java.util.Collection<InterfaceModel> getInterfaces()
Returns an unmodifiable list of interfaces implemented by this class

Returns:
collection of implemented interfaces

getFields

java.util.Collection<FieldModel> getFields()
Returns an unmodifiable collection of fields models that represent all the declared fields of this classes.

Returns:
collection of declared fields


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