- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for JavadocLinkConverter (0.17 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java
import org.w3c.dom.Node; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Converts a javadoc link into docbook. */ public class JavadocLinkConverter { private static final Pattern LINK_PATTERN = Pattern.compile("(?s)\\s*([\\w\\.]*)(#(\\w+)(\\((.*)\\))?)?.*"); private static final Pattern TYPE_PATTERN = Pattern.compile("(\\w+)\\s*(.*?)\\s*");
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
private final Document document; private final JavadocLinkConverter linkConverter; public JavadocConverter(Document document, JavadocLinkConverter linkConverter) { this.document = document; this.linkConverter = linkConverter; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 29.3K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy
final ClassMetaData classMetaData = Mock() final ClassMetaDataRepository<ClassMetaData> repository = Mock() final GenerationListener listener = Mock() final JavadocLinkConverter converter = new JavadocLinkConverter(document, nameResolver, linkRenderer, repository) def convertsClassNameToLink() { when: def link = converter.resolve('someName', classMetaData, listener) then:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java
} private MethodLinkMetaData findMethod(String method) { if (method.endsWith("...)")) { // Should reuse the link parsing stuff from JavadocLinkConverter instead method = method.substring(0, method.length() - 4) + "[])"; } MethodLinkMetaData metaData = methods.get(method); if (metaData != null) { return metaData;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
this.document = document this.classMetaData = classMetaData this.extensionMetaData = extensionMetaData javadocConverter = new JavadocConverter(document, new JavadocLinkConverter(document, new TypeNameResolver(classMetaData), new LinkRenderer(document, this), classMetaData)) docBuilder = new ClassDocBuilder(this, javadocConverter) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy
import gradlebuild.docs.dsl.source.model.PropertyMetaData import gradlebuild.docs.dsl.source.model.MethodMetaData class JavadocConverterTest extends XmlSpecification { final ClassMetaData classMetaData = Mock() final JavadocLinkConverter linkConverter = Mock() final GenerationListener listener = Mock() final JavadocConverter parser = new JavadocConverter(document, linkConverter) def respectsLineIndentation() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 14.2K bytes - Viewed (0)