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
      jakarta.enterprise.lang.model.declarations.DeclarationInfo declaration()
      Returns the declaration of this injection point.
      java.util.Collection<jakarta.enterprise.lang.model.AnnotationInfo> qualifiers()
      Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.
      jakarta.enterprise.lang.model.types.Type type()
      Returns the type of this injection point.
    • Method Detail

      • type

        jakarta.enterprise.lang.model.types.Type type()
        Returns the type of this injection point.
        Returns:
        the type of this injection point, never null
      • qualifiers

        java.util.Collection<jakarta.enterprise.lang.model.AnnotationInfo> qualifiers()
        Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.
        Returns:
        collection of qualifiers, never null
      • declaration

        jakarta.enterprise.lang.model.declarations.DeclarationInfo declaration()
        Returns the declaration of this injection point. That is a FieldInfo for field injection, or ParameterInfo for:
        • constructor injection,
        • initializer method,
        • disposer method,
        • producer method,
        • observer method.
        Returns:
        the declaration of this injection point, never null