Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rawCommentText (0.17 sec)

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

        def respectsLineIndentation() {
            _ * classMetaData.rawCommentText >> '''
     * x
     *   indented
    '''
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook).contains('x\n  indented')
        }
    
        def removesLeadingAsterixFromEachLine() {
            _ * classMetaData.rawCommentText >> ''' * line 1
     * line 2
    '''
            when:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            imports.add(importName);
        }
    
        public PropertyMetaData addReadableProperty(String name, TypeMetaData type, String rawCommentText, MethodMetaData getterMethod) {
            PropertyMetaData property = getProperty(name);
            property.setType(type);
            property.setRawCommentText(rawCommentText);
            property.setGetter(getterMethod);
            return property;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            try {
                String rawCommentText = classMetaData.getRawCommentText();
                try {
                    return parse(rawCommentText, classMetaData, new NoOpCommentSource(), listener);
                } catch (Exception e) {
                    throw new GradleException(String.format("Could not convert javadoc comment to docbook.%nClass: %s%nComment: %s", classMetaData, rawCommentText), e);
                }
            } finally {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            String name = methodDeclaration.getNameAsString();
    
            String rawCommentText = getJavadocComment(methodDeclaration);
            TypeMetaData returnType = extractTypeName(methodDeclaration.getType());
            MethodMetaData methodMetaData = getCurrentClass().addMethod(name, returnType, rawCommentText);
    
            findAnnotations(methodDeclaration, methodMetaData);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top