Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for MethodMetaData (0.23 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            TypeMetaData returnType = extractTypeName(methodDeclaration.getType());
            MethodMetaData methodMetaData = getCurrentClass().addMethod(name, returnType, rawCommentText);
    
            findAnnotations(methodDeclaration, methodMetaData);
            extractParameters(methodDeclaration, methodMetaData);
    
            Matcher matcher = GETTER_METHOD_NAME.matcher(name);
            if (matcher.matches()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import org.w3c.dom.Element
    
    class MethodDoc implements DslElementDoc {
        private final String id
        private final MethodMetaData metaData
        private final List<Element> comment
        private final ClassMetaData referringClass
    
        MethodDoc(MethodMetaData metaData, List<Element> comment) {
            this(metaData.ownerClass, metaData, comment)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
                if (methods.isEmpty()) {
                    throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames()));
                }
                for (MethodMetaData method : methods) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            private final MethodMetaData methodMetaData;
    
            public InheritedMethodCommentSource(GenerationListener listener, MethodMetaData methodMetaData) {
                this.listener = listener;
                this.methodMetaData = methodMetaData;
            }
    
            @Override
            public Iterable<? extends Node> getCommentText() {
                MethodMetaData overriddenMethod = methodMetaData.getOverriddenMethod();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook
    
    import gradlebuild.docs.XmlSpecification
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    
    class LinkRendererTest extends XmlSpecification {
        final DslDocModel model = Mock()
        final GenerationListener listener = Mock()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            format(result.docbook) == '''<para><literal>some-value</literal></para>'''
        }
    
        def convertsMethodComment() {
            MethodMetaData methodMetaData = Mock()
            _ * methodMetaData.rawCommentText >> 'a method.'
    
            when:
            def result = parser.parse(methodMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>a method.</para>'''
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.dsl.source.model.ParameterMetaData
    import gradlebuild.docs.dsl.source.model.PropertyMetaData
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.source.model.EnumConstantMetaData;
    import gradlebuild.docs.dsl.source.model.MethodMetaData;
    import gradlebuild.docs.dsl.source.model.TypeMetaData;
    import groovy.lang.GroovySystem;
    import org.apache.commons.lang.StringUtils;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaDataTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model
    
    import spock.lang.Specification
    
    class ParameterMetaDataTest extends Specification {
        def "formats signature"() {
            MethodMetaData method = Mock()
            def parameter = new ParameterMetaData('param')
            def type = new TypeMetaData('org.gradle.SomeType')
            parameter.type = type
    
            expect:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

    import gradlebuild.docs.dsl.docbook.model.MethodDoc
    import gradlebuild.docs.dsl.docbook.model.PropertyDoc
    import gradlebuild.docs.XmlSpecification
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.dsl.source.model.ParameterMetaData
    import gradlebuild.docs.dsl.source.model.PropertyMetaData
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
Back to top