Package com.intellij.codeInsight.daemon.impl

Examples of com.intellij.codeInsight.daemon.impl.HighlightInfoType


                            // highlight wicketId expression (but only if its not a page)
                            if (!WicketPsiUtil.isWicketPage(classToBeCreated)) {
                                PsiExpression wicketIdExpression = WicketPsiUtil.getWicketIdExpressionFromArguments(callExpression);
                                if (wicketIdExpression != null) {
                                    // only PsiLiteralExpression are resolvable wicketIds
                                    HighlightInfoType type;
                                    if (hasReference(wicketIdExpression, ClassWicketIdReference.class)) {
                                        type = WicketForgeColorSettingsPage.HIGHLIGHT_JAVAWICKETID;
                                    } else {
                                        type = WicketForgeColorSettingsPage.HIGHLIGHT_JAVAWICKETID_NOTRESOLVABLE;
                                    }
View Full Code Here


      }

      TextRange textRange = new TextRange(startOffset, startOffset + content.length());
      final HighlightInfo highlightInfo = HighlightInfo.createHighlightInfo(expectedHighlightingSet.defaultErrorType, textRange, descr, forcedAttributes);

      HighlightInfoType type = null;

      if (typeString != null) {
        try {
          Field field = HighlightInfoType.class.getField(typeString);
          type = (HighlightInfoType)field.get(null);
View Full Code Here

TOP

Related Classes of com.intellij.codeInsight.daemon.impl.HighlightInfoType

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.