Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getComment (0.17 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/DslElementDoc.java

    package gradlebuild.docs.dsl.docbook.model;
    
    import org.w3c.dom.Element;
    
    import java.util.List;
    
    public interface DslElementDoc {
        String getId();
    
        Element getDescription();
    
        List<Element> getComment();
    
        boolean isDeprecated();
    
        boolean isIncubating();
    
        boolean isReplaced();
    
        String getReplacement();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 949 bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java

                    title.appendChild(document.createTextNode(" (write-only)"));
                }
            }
    
            warningsRenderer.renderTo(propertyDoc, "property", section);
    
            for (Element element : propertyDoc.getComment()) {
                section.appendChild(document.importNode(element, true));
            }
    
            if (!propertyDoc.getAdditionalValues().isEmpty()) {
                Element segmentedlist = document.createElement("segmentedlist");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

        @Override
        String getReplacement() {
            return metaData.replacement
        }
    
        Element getDescription() {
            return comment.find { it.nodeName == 'para' }
        }
    
        List<Element> getComment() {
            return comment
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

            return multiValued
        }
    
        TypeMetaData getType() {
            return type
        }
    
        Element getDescription() {
            return blockMethod.description;
        }
    
        List<Element> getComment() {
            return blockMethod.comment
        }
    
        boolean isDeprecated() {
            return blockProperty.deprecated || blockMethod.deprecated
        }
    
        boolean isIncubating() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

        @Override
        String getReplacement() {
            return metaData.replacement
        }
    
        Element getDescription() {
            return comment.find { it.nodeName == 'para' }
        }
    
        List<Element> getComment() {
            return comment
        }
    
        List<ExtraAttributeDoc> getAdditionalValues() {
            return additionalValues
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java

            }
            title.appendChild(document.createTextNode(")"));
    
            warningsRenderer.renderTo(methodDoc, "method", section);
    
            for (Element element : methodDoc.getComment()) {
                section.appendChild(document.importNode(element, true));
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockDetailRenderer.java

            title.appendChild(document.createTextNode(" { }"));
    
            warningsRenderer.renderTo(blockDoc, "script block", section);
    
            for (Element element : blockDoc.getComment()) {
                section.appendChild(document.importNode(element, true));
            }
    
            Element segmentedlist = document.createElement("segmentedlist");
            section.appendChild(segmentedlist);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

            addApiDocumentationLink(classDoc, parent, document);
            addSubtypeLinks(classDoc, parent, document);
    
            warningsRenderer.renderTo(classDoc, "class", parent);
    
            for (Element element : classDoc.getComment()) {
                parent.appendChild(document.importNode(element, true));
            }
            NodeList otherContent = classDoc.getClassSection().getChildNodes();
            for (int i = 0; i < otherContent.getLength(); i++) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            p1.update(p2);
    
            assertEquals(2, (Object) p1.size());
            Object o23 = p1.getComments("trees");
            assertEquals(List.of("#", "# List of trees", "#"), o23);
            Object o22 = p1.getProperty("trees");
            assertEquals("fir, oak, maple", o22);
            Object o21 = p1.getComments("fruits");
            assertEquals(List.of("#", "# List of good fruits", "#"), o21);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocCommentBuilder.java

            this.javadocConverter = javadocConverter;
            this.listener = listener;
        }
    
        /**
         * Builds the class comment for the given class.
         */
        void build(ClassDoc classDoc) {
            classDoc.setComment(javadocConverter.parse(classDoc.getClassMetaData(), listener).getDocbook());
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.2K bytes
    - Viewed (0)
Back to top