Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addMethod (0.25 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)
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 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);
            }
        }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.4K bytes
    - Viewed (0)
  3. 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);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 10.1K 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)
                }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  5. 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);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Sep 21 13:27:02 GMT 2023
    - 11.7K 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)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
Back to top