
com.github.sebhoss.contract.module.DefaultJavaScriptModule Maven / Gradle / Ivy
The newest version!
/*
* Copyright © 2012 Sebastian Hoß
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
*/
package com.github.sebhoss.contract.module;
import com.github.sebhoss.contract.verifier.JavaScriptModule;
/**
* Guice module for the default behavior for annotated contracts. Uses JavaScript and Paranamer for contract checking.
*/
public class DefaultJavaScriptModule extends AbstractContractModule {
@Override
protected void configure() {
super.configure();
install(new JavaScriptModule());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy