Package com.intellij.psi.javadoc

Examples of com.intellij.psi.javadoc.PsiDocComment


      final PsiModifierList modifierList = container.getModifierList();
      if (modifierList != null) {
        addSuppressAnnotation(project, editor, container, modifierList, getID(container));
      }
    } else {
      final PsiDocComment docComment = container.getDocComment();
      final PsiManager manager = PsiManager.getInstance(project);
      //noinspection IfStatementWithIdenticalBranches
      if (docComment == null) {
        /*final String commentText = "*//** @" + SUPPRESS_INSPECTIONS_TAG_NAME + ' ' + getID(container) + "*//*";
        docComment = JavaPsiFacade.getInstance(manager.getProject()).getElementFactory().createDocCommentFromText(commentText, null);
View Full Code Here

TOP

Related Classes of com.intellij.psi.javadoc.PsiDocComment

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.