|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.weld.resolution.ResolvableBuilder.ResolvableImpl
protected static class ResolvableBuilder.ResolvableImpl
Constructor Summary | |
---|---|
protected |
ResolvableBuilder.ResolvableImpl(Class<?> rawType,
Set<Type> typeClosure,
Map<Class<? extends Annotation>,Annotation> mappedQualifiers,
javax.enterprise.inject.spi.Bean<?> declaringBean,
Set<QualifierInstance> qualifierInstances)
|
Method Summary | ||
---|---|---|
boolean |
equals(Object o)
|
|
|
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 |
isAssignableTo(Class<?> clazz)
Check if this resolvable's type closure includes the clazz passed as an argument |
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ResolvableBuilder.ResolvableImpl(Class<?> rawType, Set<Type> typeClosure, Map<Class<? extends Annotation>,Annotation> mappedQualifiers, javax.enterprise.inject.spi.Bean<?> declaringBean, Set<QualifierInstance> qualifierInstances)
Method Detail |
---|
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 for
public Set<Type> getTypes()
Resolvable
getTypes
in interface Resolvable
public boolean isAssignableTo(Class<?> clazz)
Resolvable
isAssignableTo
in interface Resolvable
clazz
- the class to check for
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
Resolvable
getAnnotation
in interface Resolvable
A
- the type of the annotationannotationType
- the type of the annotation
public Class<?> getJavaClass()
Resolvable
getJavaClass
in interface Resolvable
public javax.enterprise.inject.spi.Bean<?> getDeclaringBean()
Resolvable
getDeclaringBean
in interface Resolvable
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |