Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for findDeclaredMethods (0.1 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            _ * classMetaData.findDeclaredMethods('listBlock') >> [compositeBlockMethod]
            _ * classMetaData.findDeclaredMethods('block') >> [tooManyParams, notAClosure, blockMethod]
            _ * classMetaData.findDeclaredMethods('notBlock') >> [noBlockProperty]
    
            def content = parse('''
    <section>
        <section><title>Methods</title>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                }
                String methodName = cells.get(0).getTextContent().trim();
                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
                if (methods.isEmpty()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

                if (method.getOverrideSignature().equals(signature)) {
                    return method;
                }
            }
            return null;
        }
    
        public List<MethodMetaData> findDeclaredMethods(String name) {
            List<MethodMetaData> methods = new ArrayList<MethodMetaData>();
            for (MethodMetaData method : declaredMethods) {
                if (method.getName().equals(name)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
Back to top