Package org.gcontracts.domain

Examples of org.gcontracts.domain.Precondition


    @Override
    public void process(ProcessingContextInformation processingContextInformation, Contract contract, ClassNode classNode, MethodNode methodNode, BlockStatement blockStatement, BooleanExpression booleanExpression) {
        if (!processingContextInformation.isPreconditionsEnabled()) return;
        if (booleanExpression == null) return;

        contract.preconditions().or(methodNode, new Precondition(blockStatement, booleanExpression));
    }
View Full Code Here

TOP

Related Classes of org.gcontracts.domain.Precondition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.