javax.enterprise.inject.spi
Interface AnnotatedType<X>

Type Parameters:
X - the type of the class
All Superinterfaces:
Annotated

public interface AnnotatedType<X>
extends Annotated

The metadata for an annotated type which can be parsed by the BeanManager The semantics are similar to Class.

Author:
Pete Muir

Method Summary
 java.util.Set<AnnotatedConstructor<X>> getConstructors()
          Get the constructors belonging to the class If an empty set is returned, a default (no-args) constructor will be assumed.
 java.util.Set<AnnotatedField<? super X>> getFields()
          Get the fields belonging to the class
 java.lang.Class<X> getJavaClass()
          Get the underlying class instance
 java.util.Set<AnnotatedMethod<? super X>> getMethods()
          Get the business methods belonging to the class.
 
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
 

Method Detail

getJavaClass

java.lang.Class<X> getJavaClass()
Get the underlying class instance

Returns:

getConstructors

java.util.Set<AnnotatedConstructor<X>> getConstructors()
Get the constructors belonging to the class If an empty set is returned, a default (no-args) constructor will be assumed.

Returns:
the constructors, or an empty set if none are defined

getMethods

java.util.Set<AnnotatedMethod<? super X>> getMethods()
Get the business methods belonging to the class.

Returns:
the methods, or an empty set if none are defined

getFields

java.util.Set<AnnotatedField<? super X>> getFields()
Get the fields belonging to the class

Returns:
the fields, or an empty set if none are defined


Copyright © 2008-2009. All Rights Reserved.