protected static class ResolvableBuilder.ResolvableImpl extends Object implements Resolvable
Modifier | Constructor and Description |
---|---|
protected |
ResolvableImpl(Class<?> rawType,
Set<Type> typeClosure,
Map<Class<? extends Annotation>,Annotation> mappedQualifiers,
javax.enterprise.inject.spi.Bean<?> declaringBean,
Set<QualifierInstance> qualifierInstances,
boolean delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
<A extends Annotation> |
getAnnotation(Class<A> annotationType)
Get the instance of the Annotation
|
javax.enterprise.inject.spi.Bean<?> |
getDeclaringBean()
Get the declaring the injection point, or null if there is none
|
Class<?> |
getJavaClass()
Get the underlying java class used to generate this resolvable, or null
if no java class was used
|
Set<QualifierInstance> |
getQualifiers()
Get the bindings to use for resolution.
|
Set<Type> |
getTypes()
The types that this resolvable may be assigned to
|
int |
hashCode() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Check if an annotation is present
|
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() |
protected ResolvableImpl(Class<?> rawType, Set<Type> typeClosure, Map<Class<? extends Annotation>,Annotation> mappedQualifiers, javax.enterprise.inject.spi.Bean<?> declaringBean, Set<QualifierInstance> qualifierInstances, boolean delegate)
public Set<QualifierInstance> getQualifiers()
Resolvable
getQualifiers
in interface Resolvable
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
Resolvable
isAnnotationPresent
in interface Resolvable
annotationType
- the annotation type to look forpublic Set<Type> getTypes()
Resolvable
getTypes
in interface Resolvable
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
Resolvable
getAnnotation
in interface Resolvable
A
- the type of the annotationannotationType
- the type of the annotationpublic Class<?> getJavaClass()
Resolvable
getJavaClass
in interface Resolvable
public javax.enterprise.inject.spi.Bean<?> getDeclaringBean()
Resolvable
getDeclaringBean
in interface Resolvable
public boolean isDelegate()
Resolvable
isDelegate
in interface Resolvable
Copyright © 2016. All rights reserved.