Package javax.enterprise.inject.spi
Interface AnnotatedType<X>
- Type Parameters:
X
- the type
- All Superinterfaces:
Annotated
Represents a Java class or interface.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the constructors of the type.Set<AnnotatedField<? super X>>
Get the fields of the type.Get the underlyingClass
.Set<AnnotatedMethod<? super X>>
Get the methods of the type.Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
-
Method Details
-
getJavaClass
Get the underlying
Class
.- Returns:
- the
Class
-
getConstructors
Set<AnnotatedConstructor<X>> getConstructors()Get the constructors of the type. If an empty set is returned, a default constructor with no parameters will be assumed.
- Returns:
- the constructors, or an empty set if none are defined
-
getMethods
Set<AnnotatedMethod<? super X>> getMethods()Get the methods of the type.
- Returns:
- the methods, or an empty set if none are defined
-
getFields
Set<AnnotatedField<? super X>> getFields()Get the fields of the type.
- Returns:
- the fields, or an empty set if none are defined
-