Package org.jboss.weld.resolution
Class ResolvableBuilder.ResolvableImpl
- java.lang.Object
-
- org.jboss.weld.resolution.ResolvableBuilder.ResolvableImpl
-
- All Implemented Interfaces:
Resolvable
- Enclosing class:
- ResolvableBuilder
protected static class ResolvableBuilder.ResolvableImpl extends Object implements Resolvable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResolvableImpl(Class<?> rawType, Set<Type> typeClosure, Bean<?> declaringBean, Set<QualifierInstance> qualifierInstances, boolean delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Bean<?>getDeclaringBean()Get the declaring the injection point, or null if there is noneClass<?>getJavaClass()Get the underlying java class used to generate this resolvable, or null if no java class was usedSet<QualifierInstance>getQualifiers()Get the bindings to use for resolution.Set<Type>getTypes()The types that this resolvable may be assigned tointhashCode()booleanisDelegate()Returns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.StringtoString()
-
-
-
Method Detail
-
getQualifiers
public Set<QualifierInstance> 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
public Set<Type> getTypes()
Description copied from interface:ResolvableThe types that this resolvable may be assigned to- Specified by:
getTypesin interfaceResolvable- Returns:
-
getJavaClass
public Class<?> 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 Bean<?> getDeclaringBean()
Description copied from interface:ResolvableGet the declaring the injection point, or null if there is none- Specified by:
getDeclaringBeanin interfaceResolvable- Returns:
-
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
-
-