Examples of tags()


Examples of org.apache.tapestry5.ioc.annotations.Description.tags()

                    if (description != null)
                    {
                        putIfNotNull("description", description.text(), classJsonObject);
                        if (description.tags().length > 0)
                        {
                            for (String tag : description.tags())
                            {
                                classJsonObject.accumulate("tag", tag);
                            }
                        }
                    }
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

   
    @SuppressWarnings("unchecked")
    protected boolean isDeprecated(MethodDeclaration method) {
        Javadoc doc = method.getJavadoc();
        if (doc != null) {
            Iterator<TagElement> elements = doc.tags().iterator();
            while (elements.hasNext()) {
                TagElement element = elements.next();
                if (element.getTagName() != null && element.getTagName().equals(TagElement.TAG_DEPRECATED)) {
                    return true;
                }
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

            Javadoc javadoc = getAST().newJavadoc();
            TextElement element = getAST().newTextElement();
            element.setText(text);
            TagElement tag = getAST().newTagElement();
            tag.fragments().add(element);
            javadoc.tags().add(tag);
            ((AbstractTypeDeclaration)m_class).setJavadoc(javadoc);
        } else {
            throw new IllegalStateException("Internal error - cannot add JavaDoc to non-class type");
        }
    }
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

            Javadoc javadoc = getAST().newJavadoc();
            TextElement element = getAST().newTextElement();
            element.setText(doc);
            TagElement tag = getAST().newTagElement();
            tag.fragments().add(element);
            javadoc.tags().add(tag);
            decl.setJavadoc(javadoc);
        }
    }

    /**
 
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

            Javadoc javadoc = m_declaration.getJavadoc();
            if (javadoc == null) {
                javadoc = ast.newJavadoc();
                m_declaration.setJavadoc(javadoc);
            }
            javadoc.tags().add(tag);
        }
    }
   
    /**
     * Add untagged source comment for this body.
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

            TagElement tag = ast.newTagElement();
            TextElement text = ast.newTextElement();
            text.setText("Generated class for method "
                + methodDec.getName());
            tag.fragments().add(text);
            comment.tags().add(tag);
            type.setJavadoc(comment);
            type.setInterface(false);
            type.modifiers()
                .add(ast.newModifier(Modifier.ModifierKeyword.PUBLIC_KEYWORD));
            type.setName(ast.newSimpleName(className));
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

            aMethod.thrownExceptions().clear();

            // Remove @gwt tags
            Javadoc jdoc = aMethod.getJavadoc();
            if (jdoc != null) {
              List tags = jdoc.tags();
              List tagsToRemove = new ArrayList();
              for (Iterator itTags = tags.iterator(); itTags.hasNext();) {
                TagElement tag = (TagElement) itTags.next();
                if (tag.toString().contains("@gwt")) {
                  tagsToRemove.add(tag);
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

            aMethod.thrownExceptions().clear();
           
            // Remove @gwt tags
                        Javadoc jdoc = aMethod.getJavadoc();
                        if(jdoc != null) {
                          List tags =  jdoc.tags();
                          List tagsToRemove = new ArrayList();
                          for(Iterator itTags = tags.iterator(); itTags.hasNext();) {
                              TagElement tag = (TagElement) itTags.next();
                              if (tag.toString().contains("@gwt")) {
                                  tagsToRemove.add(tag);
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

            aMethod.thrownExceptions().clear();
           
            // Remove @gwt tags
                        Javadoc jdoc = aMethod.getJavadoc();
                        if(jdoc != null) {
                          List tags =  jdoc.tags();
                          List tagsToRemove = new ArrayList();
                          for(Iterator itTags = tags.iterator(); itTags.hasNext();) {
                              TagElement tag = (TagElement) itTags.next();
                              if (tag.toString().contains("@gwt")) {
                                  tagsToRemove.add(tag);
View Full Code Here

Examples of org.eclipse.jdt.core.dom.Javadoc.tags()

    aMethod.thrownExceptions().clear();

    // Remove @gwt tags
    Javadoc jdoc = aMethod.getJavadoc();
    if (jdoc != null) {
      List tags = jdoc.tags();
      List tagsToRemove = new ArrayList();
      for (Iterator itTags = tags.iterator(); itTags.hasNext();) {
        TagElement tag = (TagElement) itTags.next();
        if (tag.toString().contains("@gwt")) {
          tagsToRemove.add(tag);
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.