Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ParameterMetaData (0.16 sec)

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

    import java.util.Objects;
    
    /**
     * Static meta-data about a method parameter extracted from the source for the method.
     */
    public class ParameterMetaData implements Serializable, TypeContainer {
        private final String name;
        private TypeMetaData type;
    
        public ParameterMetaData(String name) {
            this.name = name;
        }
    
        public String getName() {
            return name;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

                queue.addAll(cl.getInterfaces());
            }
    
            return null;
        }
    
        public List<ParameterMetaData> getParameters() {
            return parameters;
        }
    
        public ParameterMetaData addParameter(String name, TypeMetaData type) {
            ParameterMetaData param = new ParameterMetaData(name);
            param.setType(type);
            parameters.add(param);
            return param;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java

            literal.appendChild(document.createTextNode(methodDoc.getName()));
            title.appendChild(document.createTextNode("("));
            List<ParameterMetaData> parameters = methodDoc.getMetaData().getParameters();
            for (int i = 0; i < parameters.size(); i++) {
                ParameterMetaData param = parameters.get(i);
                if (i > 0) {
                    title.appendChild(document.createTextNode(", "));
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaDataTest.groovy

    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:
            parameter.signature == 'org.gradle.SomeType param'
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

     */
    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
    import gradlebuild.docs.dsl.docbook.model.ClassExtensionMetaData
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

     */
    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
    import gradlebuild.docs.XmlSpecification
    import gradlebuild.docs.dsl.docbook.model.ClassDoc
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

    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
    
    class ClassDocRendererTest extends XmlSpecification {
        final LinkRenderer linkRenderer = linkRenderer()
    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