Class ForwardingResolvable

java.lang.Object
org.jboss.weld.resolution.ForwardingResolvable
All Implemented Interfaces:
Resolvable

public abstract class ForwardingResolvable extends Object implements Resolvable
  • Constructor Details

    • ForwardingResolvable

      public ForwardingResolvable()
  • Method Details

    • delegate

      protected abstract Resolvable delegate()
    • getQualifiers

      public Set<QualifierInstance> getQualifiers()
      Description copied from interface: Resolvable
      Get the bindings to use for resolution. @Default will be returned if no bindings were specified
      Specified by:
      getQualifiers in interface Resolvable
      Returns:
      the bindings
    • getTypes

      public Set<Type> getTypes()
      Description copied from interface: Resolvable
      The types that this resolvable may be assigned to
      Specified by:
      getTypes in interface Resolvable
      Returns:
    • getJavaClass

      public Class<?> getJavaClass()
      Description copied from interface: Resolvable
      Get the underlying java class used to generate this resolvable, or null if no java class was used
      Specified by:
      getJavaClass in interface Resolvable
      Returns:
      the java class
    • getDeclaringBean

      public jakarta.enterprise.inject.spi.Bean<?> getDeclaringBean()
      Description copied from interface: Resolvable
      Get the declaring the injection point, or null if there is none
      Specified by:
      getDeclaringBean in interface Resolvable
      Returns:
    • isDelegate

      public boolean isDelegate()
      Description copied from interface: Resolvable
      Returns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.
      Specified by:
      isDelegate in interface Resolvable
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object