org.glassfish.hk2.classmodel.reflect
Interface Type

All Superinterfaces:
AnnotatedElement
All Known Subinterfaces:
AnnotationType, ClassModel, ExtensibleType<T>, InterfaceModel
All Known Implementing Classes:
AnnotationTypeImpl, ClassModelImpl, ExtensibleTypeImpl, InterfaceModelImpl, TypeImpl

public interface Type
extends AnnotatedElement

A type defines java type which can be an interface or a class.

Author:
Jerome Dochez

Method Summary
 java.util.Collection<FieldModel> getFieldReferences()
          Returns a unmodifiable collection of fields references.
 java.util.Collection<MethodModel> getMethods()
          Returns an unmodifiable collection of methods that are declared in this type.
 
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
 

Method Detail

getMethods

java.util.Collection<MethodModel> getMethods()
Returns an unmodifiable collection of methods that are declared in this type.

Returns:
methods declared on this type

getFieldReferences

java.util.Collection<FieldModel> getFieldReferences()
Returns a unmodifiable collection of fields references. A field reference is a field declaration in a type which type is this instance.

Returns:
fields references on this type


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