Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for overrideSignature (0.14 sec)

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

            method.addParameter('param2', new TypeMetaData('ParamType2'))
    
            expect:
            method.signature == 'ReturnType method(ParamType param1, ParamType2 param2)'
            method.overrideSignature == 'method(ParamType, ParamType2)'
        }
    
        def formatsOverrideSignatureUsingRawParameterTypes() {
            method.returnType = new TypeMetaData('ReturnType')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

            queue.addAll(ownerClass.getInterfaces());
    
            String overrideSignature = getOverrideSignature();
    
            while (!queue.isEmpty()) {
                ClassMetaData cl = queue.removeFirst();
                if (cl == null) {
                    continue;
                }
                MethodMetaData overriddenMethod = cl.findDeclaredMethod(overrideSignature);
                if (overriddenMethod != null) {
    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/model/ClassExtensionDoc.groovy

            mixinClasses.each { mixin ->
                mixin.classMethods.each { method ->
                    methods << method.forClass(targetClass)
                }
            }
            return methods.sort { it.metaData.overrideSignature }
        }
    
        List<BlockDoc> getExtensionBlocks() {
            List<BlockDoc> blocks = []
            mixinClasses.each { mixin ->
                mixin.classBlocks.each { block ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

        MethodDoc(ClassMetaData referringClass, MethodMetaData metaData, List<Element> comment) {
            this.metaData = metaData
            this.referringClass = referringClass
            id = "$referringClass.className:$metaData.overrideSignature"
            this.comment = comment
        }
    
        MethodDoc forClass(ClassDoc referringClass) {
            def refererMetaData = referringClass.classMetaData
            if (refererMetaData == this.referringClass) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

        }
    
        def method(String name, String className) {
            MethodMetaData method = Mock()
            ClassMetaData ownerClass = Mock()
            _ * method.name >> name
            _ * method.overrideSignature >> "$name()"
            _ * method.ownerClass >> ownerClass
            _ * ownerClass.className >> className
            return method
        }
    
        def type(String name, boolean isArray = false) {
    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/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        }
        void addSubClass(ClassDoc subClass) {
            subClasses.add(subClass)
        }
        ClassDoc mergeContent() {
            classProperties.sort { it.name }
            classMethods.sort { it.metaData.overrideSignature }
            classBlocks.sort { it.name }
            classExtensions.sort { it.pluginId }
            return this
        }
    
        String getStyle() {
            return classMetaData.groovy ? 'groovydoc' : 'javadoc'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

        }
    
        private MethodMetaData method(Map<String, ?> args = [:], String name) {
            def MethodMetaData method = Mock()
            _ * method.name >> name
            _ * method.overrideSignature >> args.signature
            return method
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            MethodMetaData method = Mock()
            List<String> paramTypes = args.paramTypes ?: []
            _ * method.name >> name
            _ * method.overrideSignature >> "$name(${paramTypes.join(', ')})"
            _ * method.parameters >> paramTypes.collect {
                def param = new ParameterMetaData("p");
                param.type = new TypeMetaData(it)
                return param
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            MethodMetaData method = Mock()
            List<String> paramTypes = args.paramTypes ?: []
            _ * method.name >> name
            _ * method.overrideSignature >> "$name(${paramTypes.join(', ')})"
            _ * method.parameters >> paramTypes.collect {
                def param = new ParameterMetaData("p");
                param.type = new TypeMetaData(it)
                return param
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
Back to top