}
@Override
public InjectAnnotationProcessor createAnnotationProcessor(Object adaptable, AnnotatedElement element) {
// check if the element has the expected annotation
ChildResource annotation = element.getAnnotation(ChildResource.class);
if (annotation != null) {
return new ChildResourceAnnotationProcessor(annotation, adaptable);
}
return null;
}