- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for methodDoc (0.06 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy
import org.w3c.dom.Element class MethodDoc implements DslElementDoc { private final String id private final MethodMetaData metaData private final List<Element> comment private final ClassMetaData referringClass MethodDoc(MethodMetaData metaData, List<Element> comment) { this(metaData.ownerClass, metaData, 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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodTableRenderer.java
literal.appendChild(link); link.setAttribute("linkend", methodDoc.getId()); link.appendChild(document.createTextNode(methodDoc.getName())); StringBuilder signature = new StringBuilder(); signature.append("("); for (int i = 0; i < methodDoc.getMetaData().getParameters().size(); i++) { if (i > 0) { signature.append(", ");
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodsRenderer.java
for (MethodDoc methodDoc : classDoc.getClassMethods()) { methodDetailRenderer.renderTo(methodDoc, detailsSection); } for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) { for (MethodDoc methodDoc : extensionDoc.getExtensionMethods()) { methodDetailRenderer.renderTo(methodDoc, detailsSection); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
MethodMetaData methodB = method('b', classMetaData) MethodMetaData methodBOverload = method('b', classMetaData) MethodDoc methodAOverridden = methodDoc('a') MethodDoc methodC = methodDoc('c') MethodDoc methodD = methodDoc('d') MethodDoc methodE = methodDoc('e') ClassDoc superClass = classDoc('org.gradle.SuperClass') ClassDoc superType1 = classDoc("org.gradle.SuperType1")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
return propDoc } def methodDoc(Map<String, ?> args = [:], String name) { MethodDoc methodDoc = Mock() MethodMetaData metaData = Mock() _ * methodDoc.name >> name _ * methodDoc.id >> args.id _ * methodDoc.description >> parse("<para>${args.description ?: 'description'}</para>") _ * methodDoc.comment >> [parse("<para>${args.comment ?: 'comment'}</para>")]
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 40.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java
this.listener = listener; } public void renderTo(MethodDoc methodDoc, Element parent) { Document document = parent.getOwnerDocument(); Element section = document.createElement("section"); parent.appendChild(section); section.setAttribute("id", methodDoc.getId()); section.setAttribute("role", "detail");
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
} for (MethodMetaData method : methods) { DocComment docComment = javadocConverter.parse(method, listener); MethodDoc methodDoc = new MethodDoc(method, docComment.getDocbook()); if (methodDoc.getDescription() == null) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy
void addClassProperty(PropertyDoc propertyDoc) { classProperties.add(propertyDoc.forClass(this)) } Collection<MethodDoc> getClassMethods() { return classMethods } void addClassMethod(MethodDoc methodDoc) { classMethods.add(methodDoc.forClass(this)) } Collection<BlockDoc> getClassBlocks() { return classBlocks } void addClassBlock(BlockDoc blockDoc) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
methodMetaData.addParameter("configClosure", new TypeMetaData(Closure.class.getName())); MethodDoc methodDoc = new MethodDoc(methodMetaData, Collections.singletonList(para)); extensionDoc.getExtraBlocks().add(new BlockDoc(methodDoc, propertyDoc, propertyMetaData.getType(), false)); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0)