Package org.gcontracts.domain

Examples of org.gcontracts.domain.ClassInvariant


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

        contract.setClassInvariant(new ClassInvariant(blockStatement, booleanExpression));
    }
View Full Code Here

TOP

Related Classes of org.gcontracts.domain.ClassInvariant

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.