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