Interface InjectionPointInfo
public interface InjectionPointInfo
An injection point defined on some bean. Injection points may be fields
or method parameters.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.lang.model.declarations.DeclarationInfoReturns the declaration of this injection point.Collection<jakarta.enterprise.lang.model.AnnotationInfo> Returns a collection of qualifiers declared on this injection point, represented asAnnotationInfo.jakarta.enterprise.lang.model.types.Typetype()Returns thetypeof this injection point.
-
Method Details
-
type
jakarta.enterprise.lang.model.types.Type type()Returns thetypeof this injection point.- Returns:
- the type of this injection point, never
null
-
qualifiers
Collection<jakarta.enterprise.lang.model.AnnotationInfo> qualifiers()Returns a collection of qualifiers declared on this injection point, represented asAnnotationInfo.- Returns:
- collection of qualifiers, never
null
-
declaration
jakarta.enterprise.lang.model.declarations.DeclarationInfo declaration()Returns the declaration of this injection point. That is aFieldInfofor field injection, orParameterInfofor:- constructor injection,
- initializer method,
- disposer method,
- producer method,
- observer method.
- Returns:
- the declaration of this injection point, never
null
-