public abstract class ForwardingResolvable extends Object implements Resolvable
| Constructor and Description |
|---|
ForwardingResolvable() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Resolvable |
delegate() |
boolean |
equals(Object obj) |
<A extends Annotation> |
getAnnotation(Class<A> annotationType)
Get the instance of the Annotation
|
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
|
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 abstract Resolvable delegate()
public Set<QualifierInstance> getQualifiers()
ResolvablegetQualifiers in interface Resolvablepublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
ResolvableisAnnotationPresent in interface ResolvableannotationType - the annotation type to look forpublic Set<Type> getTypes()
ResolvablegetTypes in interface Resolvablepublic boolean isAssignableTo(Class<?> clazz)
ResolvableisAssignableTo in interface Resolvableclazz - the class to check forpublic <A extends Annotation> A getAnnotation(Class<A> annotationType)
ResolvablegetAnnotation in interface ResolvableA - the type of the annotationannotationType - the type of the annotationpublic Class<?> getJavaClass()
ResolvablegetJavaClass in interface Resolvablepublic Bean<?> getDeclaringBean()
ResolvablegetDeclaringBean in interface Resolvablepublic boolean isDelegate()
ResolvableisDelegate in interface ResolvableCopyright © 2014 Seam Framework. All Rights Reserved.