class AbstractLockConfiguration implements ImportAware {
    protected AnnotationAttributes annotationAttributes;

    @Override
    public void setImportMetadata(AnnotationMetadata importMetadata) {<FILL_FUNCTION_BODY>}

    protected int getOrder() {
        return annotationAttributes.getNumber("order");
    }
}

        this.annotationAttributes = AnnotationAttributes.fromMap(
                importMetadata.getAnnotationAttributes(EnableSchedulerLock.class.getName(), false));
        if (this.annotationAttributes == null) {
            throw new IllegalArgumentException(
                    "@EnableSchedulerLock is not present on importing class " + importMetadata.getClassName());
        }
    
<no_super_class>