Module jakarta.cdi
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeclarationInfo
declaration()
Returns the declaration of this injection point.java.util.Collection<AnnotationInfo>
qualifiers()
Returns a collection of qualifiers declared on this injection point, represented asAnnotationInfo
.Type
type()
Returns thetype
of this injection point.
-
-
-
Method Detail
-
type
Type type()
Returns thetype
of this injection point.- Returns:
- the type of this injection point, never
null
-
qualifiers
java.util.Collection<AnnotationInfo> qualifiers()
Returns a collection of qualifiers declared on this injection point, represented asAnnotationInfo
.- Returns:
- collection of qualifiers, never
null
-
declaration
DeclarationInfo declaration()
Returns the declaration of this injection point. That is aFieldInfo
for field injection, orParameterInfo
for:- constructor injection,
- initializer method,
- disposer method,
- producer method,
- observer method.
- Returns:
- the declaration of this injection point, never
null
-
-