Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AddMethod (0.13 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

            ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME")
            classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null)
            classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null).addParameter('param1', new TypeMetaData("java.lang.Integer"))
            def overloadedCalculateMethod = classMetaData.addMethod('calculate', TypeMetaData.VOID, null)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

            this.packageName = classMetaData.getPackageName();
            this.style = LinkMetaData.Style.Javadoc;
            for (MethodMetaData method : classMetaData.getDeclaredMethods()) {
                addMethod(method, style);
            }
            for (EnumConstantMetaData enumConstant : classMetaData.getEnumConstants()) {
                addEnumConstant(enumConstant, style);
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            String rawCommentText = getJavadocComment(methodDeclaration);
            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);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                def linkMetaData = linkRepository.get(classDoc.name)
                linkMetaData.style = LinkMetaData.Style.Dsldoc
                classDoc.classMethods.each { methodDoc ->
                    linkMetaData.addMethod(methodDoc.metaData, LinkMetaData.Style.Dsldoc)
                }
                classDoc.classBlocks.each { blockDoc ->
                    linkMetaData.addBlockMethod(blockDoc.blockMethod.metaData)
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        }
    
        @Override
        public void attach(ClassMetaDataRepository<ClassMetaData> metaDataRepository) {
            this.metaDataRepository = metaDataRepository;
        }
    
        public MethodMetaData addMethod(String name, TypeMetaData returnType, String rawCommentText) {
            MethodMetaData method = new MethodMetaData(name, this);
            declaredMethods.add(method);
            method.setReturnType(returnType);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg go/types, method (*MethodSet) Len() int
    pkg go/types, method (*MethodSet) Lookup(*Package, string) *Selection
    pkg go/types, method (*MethodSet) String() string
    pkg go/types, method (*Named) AddMethod(*Func)
    pkg go/types, method (*Named) Method(int) *Func
    pkg go/types, method (*Named) NumMethods() int
    pkg go/types, method (*Named) Obj() *TypeName
    pkg go/types, method (*Named) SetUnderlying(Type)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top