Package com.github.overengineer.scope.conversation.expression.annotations

Examples of com.github.overengineer.scope.conversation.expression.annotations.Eval


    }

    protected void resolveExpressionConfig(Class<?> clazz, Method method, String methodName, ExpressionConfiguration expressionConfiguration) {
        if (method.isAnnotationPresent(Eval.class)) {
            Eval eval = method.getAnnotation(Eval.class);
            expressionConfiguration.addExpressions(methodName, eval.preAction(), eval.postAction(), eval.postView());
        } else if (clazz.isAnnotationPresent(Eval.class)) {
            Eval eval = clazz.getAnnotation(Eval.class);
            expressionConfiguration.addExpressions(methodName, eval.preAction(), eval.postAction(), eval.postView());
        } else {
            expressionConfiguration.addExpressions(methodName, "", "", "");
        }
    }
View Full Code Here

TOP

Related Classes of com.github.overengineer.scope.conversation.expression.annotations.Eval

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.