Interface Resolvable

All Known Subinterfaces:
InterceptorResolvable
All Known Implementing Classes:
ForwardingResolvable, ProcessAnnotatedTypeEventResolvable, ResolvableBuilder.ResolvableImpl

public interface Resolvable
Something that is resolvable by the resolver. A resolvable is defined by it's bindings and type closure
Author:
pmuir
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.enterprise.inject.spi.Bean<?>
    Get the declaring the injection point, or null if there is none
    Get the underlying java class used to generate this resolvable, or null if no java class was used
    Get the bindings to use for resolution.
    The types that this resolvable may be assigned to
    boolean
    Returns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.
  • Method Details

    • getQualifiers

      Set<QualifierInstance> getQualifiers()
      Get the bindings to use for resolution. @Default will be returned if no bindings were specified
      Returns:
      the bindings
    • getTypes

      Set<Type> getTypes()
      The types that this resolvable may be assigned to
      Returns:
    • getJavaClass

      Class<?> getJavaClass()
      Get the underlying java class used to generate this resolvable, or null if no java class was used
      Returns:
      the java class
    • getDeclaringBean

      jakarta.enterprise.inject.spi.Bean<?> getDeclaringBean()
      Get the declaring the injection point, or null if there is none
      Returns:
    • isDelegate

      boolean isDelegate()
      Returns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.