Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resolveValues (0.09 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

        }
    
        def convertsValueLinkToLiteralValue() {
            ClassMetaData otherClass = Mock()
    
            when:
            def link = converter.resolveValue('SomeName#someField', classMetaData, listener)
    
            then:
            format(link) == '<literal>value</literal>'
            _ * nameResolver.resolve('SomeName', classMetaData) >> 'org.gradle.SomeName'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

            if (candidates.size() != 1) {
                return null;
            }
            return candidates.get(0);
        }
    
        /**
         * Converts a javadoc value link into docbook.
         */
        public Node resolveValue(String fieldName, ClassMetaData classMetaData, GenerationListener listener) {
            String[] parts = fieldName.split("#");
            ClassMetaData targetClass;
            if (parts[0].length() > 0) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
Back to top