Class ExposedBindingAnnotation.Util
java.lang.Object
dev.getelements.elements.rt.annotation.ExposedBindingAnnotation.Util
- Enclosing class:
ExposedBindingAnnotation
Utility class for resolving the binding annotation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Annotationresolve(Class<?> cls, ExposedBindingAnnotation annotation) Looks up theExposedBindingAnnotation.BindingAnnotationFactory, instantiates it, and then applies it to the suppliedClass<?>.
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
resolve
Looks up theExposedBindingAnnotation.BindingAnnotationFactory, instantiates it, and then applies it to the suppliedClass<?>. This returns a binding annotation which can be automatically integrated into an IoC container.- Parameters:
annotation- theExposedBindingAnnotationannotation- Returns:
- the
Annotationwhich matches the
-