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 protected
ResolvableImpl(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 boolean
equals(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 toint
hashCode()
boolean
isDelegate()
Returns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.String
toString()
-
-
-
Method Detail
-
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 interfaceResolvable
- 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 interfaceResolvable
- 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 interfaceResolvable
- Returns:
- the java class
-
getDeclaringBean
public Bean<?> getDeclaringBean()
Description copied from interface:Resolvable
Get the declaring the injection point, or null if there is none- Specified by:
getDeclaringBean
in interfaceResolvable
- 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 interfaceResolvable
-
-