Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for visitsSignature (0.09 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            type.setLowerBounds(new TypeMetaData('OtherType'))
    
            expect:
            type.signature == '? super OtherType'
        }
    
        def visitsSignature() {
            TypeMetaData.SignatureVisitor visitor = Mock()
    
            when:
            type.visitSignature(visitor)
    
            then:
            1 * visitor.visitType('org.gradle.SomeType')
            0 * visitor._
        }
    
        def visitsSignatureForArrayType() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

                    typeArg.visitTypes(action);
                }
            }
        }
    
        public void visitSignature(SignatureVisitor visitor) {
            if (wildcard) {
                visitor.visitText("?");
            } else if (upperBounds != null) {
                visitor.visitText("? extends ");
                upperBounds.visitSignature(visitor);
            } else if (lowerBounds != null) {
                visitor.visitText("? super ");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  3. 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)
Back to top