Package org.jboss.weld.resolution
Class ResolvableBuilder.ResolvableImpl
java.lang.Object
org.jboss.weld.resolution.ResolvableBuilder.ResolvableImpl
- All Implemented Interfaces:
Resolvable
- Enclosing class:
- ResolvableBuilder
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedResolvableImpl(Class<?> rawType, Set<Type> typeClosure, jakarta.enterprise.inject.spi.Bean<?> declaringBean, Set<QualifierInstance> qualifierInstances, boolean delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanjakarta.enterprise.inject.spi.Bean<?>Get the declaring the injection point, or null if there is noneClass<?>Get the underlying java class used to generate this resolvable, or null if no java class was usedGet the bindings to use for resolution.getTypes()The types that this resolvable may be assigned tointhashCode()booleanReturns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.toString()
-
Constructor Details
-
ResolvableImpl
protected ResolvableImpl(Class<?> rawType, Set<Type> typeClosure, jakarta.enterprise.inject.spi.Bean<?> declaringBean, Set<QualifierInstance> qualifierInstances, boolean delegate)
-
-
Method Details
-
getQualifiers
Description copied from interface:ResolvableGet the bindings to use for resolution. @Default will be returned if no bindings were specified- Specified by:
getQualifiersin interfaceResolvable- Returns:
- the bindings
-
getTypes
Description copied from interface:ResolvableThe types that this resolvable may be assigned to- Specified by:
getTypesin interfaceResolvable- Returns:
-
getJavaClass
Description copied from interface:ResolvableGet the underlying java class used to generate this resolvable, or null if no java class was used- Specified by:
getJavaClassin interfaceResolvable- Returns:
- the java class
-
getDeclaringBean
public jakarta.enterprise.inject.spi.Bean<?> getDeclaringBean()Description copied from interface:ResolvableGet the declaring the injection point, or null if there is none- Specified by:
getDeclaringBeanin interfaceResolvable- Returns:
-
toString
-
hashCode
public int hashCode() -
equals
-
isDelegate
public boolean isDelegate()Description copied from interface:ResolvableReturns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.- Specified by:
isDelegatein interfaceResolvable
-