- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SignatureVisitor (0.17 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy
} def visitsSignature() { TypeMetaData.SignatureVisitor visitor = Mock() when: type.visitSignature(visitor) then: 1 * visitor.visitType('org.gradle.SomeType') 0 * visitor._ } def visitsSignatureForArrayType() { TypeMetaData.SignatureVisitor visitor = Mock() type.arrayDimensions = 2 when:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java
rawType.arrayDimensions++; } return rawType; } public String getSignature() { final StringBuilder builder = new StringBuilder(); visitSignature(new SignatureVisitor() { @Override public void visitText(String text) { builder.append(text); } @Override public void visitType(String name) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java
} Node link(TypeMetaData type, final GenerationListener listener) { final Element linkElement = document.createElement("classname"); type.visitSignature(new TypeMetaData.SignatureVisitor() { @Override public void visitText(String text) { linkElement.appendChild(document.createTextNode(text)); } @Override
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.3K bytes - Viewed (0)