Package com.intellij.codeInsight.template

Examples of com.intellij.codeInsight.template.Result


    }

    public static String readFirstParamValue(ExpressionContext context, Expression[] params, String defaultValue) {
        String value = null;
        if (params.length > 0) {
            Result result = params[0].calculateResult(context);
            if (result != null) {
                value = result.toString();
            }
        }

        return value == null ? defaultValue : value;
    }
View Full Code Here

TOP

Related Classes of com.intellij.codeInsight.template.Result

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.