Top Description Methods
jakarta.enterprise.inject.build.compatible.spi

public Interface InjectionPointInfo

Imports
java.util.Collection, jakarta.enterprise.lang.model.AnnotationInfo, jakarta.enterprise.lang.model.declarations.DeclarationInfo, jakarta.enterprise.lang.model.types.Type

An injection point defined on some bean. Injection points may be fields or method parameters.
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public DeclarationInfo

Returns:

the declaration of this injection point, never null
declaration
()

Returns the declaration of this injection point.

public Collection<AnnotationInfo>

Returns:

collection of qualifiers, never null
qualifiers
()

Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.

public Type

Returns:

the type of this injection point, never null
type
()

Returns the type of this injection point.

Method Detail

declarationback to summary
public 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:DeclarationInfo

the declaration of this injection point, never null

qualifiersback to summary
public Collection<AnnotationInfo> qualifiers()

Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.

Returns:Collection<AnnotationInfo>

collection of qualifiers, never null

typeback to summary
public Type type()

Returns the type of this injection point.

Returns:Type

the type of this injection point, never null