Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for formatsOverrideSignatureForVarargsParameter (0.15 sec)

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

            expect:
            method.signature == 'ReturnType method(ParamType<Type1> param, ParamType2 param2)'
            method.overrideSignature == 'method(ParamType, ParamType2)'
        }
    
        def formatsOverrideSignatureForVarargsParameter() {
            method.returnType = new TypeMetaData('ReturnType')
            method.addParameter('param', new TypeMetaData('ParamType'))
            method.addParameter('param2', new TypeMetaData('ParamType2').setVarargs())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.6K bytes
    - Viewed (0)
Back to top