Package com.intellij.codeInsight.daemon.impl.HighlightInfo

Examples of com.intellij.codeInsight.daemon.impl.HighlightInfo.Builder.description()


    @Override
    public HighlightInfo createHighlightInfo(@NotNull HighlightInfoType type, @NotNull PsiElement element, @Nullable String message, @Nullable TextAttributes attributes) {
        Builder builder = HighlightInfo.newHighlightInfo(type)
                .range(element);
        if(message != null) {
            builder.description(message);
        }
        if(attributes != null) {
            builder.textAttributes(attributes);
        }
        return builder.create();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.