Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for findProperty (0.14 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:33:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            doc.classProperties[2].name == 'c'
            doc.classProperties[3].name == 'd'
            doc.classProperties[4].name == 'e'
    
            _ * classMetaData.findProperty('b') >> propertyB
            _ * classMetaData.findProperty('a') >> propertyA
            _ * classMetaData.superClassName >> 'org.gradle.SuperClass'
            _ * superDoc.classProperties >> [propertyDocC, propertyDocA]
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            MethodMetaData noBlockProperty = method('notBlock', classMetaData, paramTypes: [Closure.class.name])
            _ * classMetaData.findProperty('block') >> blockProperty
            _ * classMetaData.findProperty('listBlock') >> compositeBlockProperty
            _ * classMetaData.declaredMethods >> [blockMethod, compositeBlockMethod, tooManyParams, notAClosure, noBlockProperty]
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

         */
        public PropertyMetaData findProperty(String name) {
            PropertyMetaData propertyMetaData = declaredProperties.get(name);
            if (propertyMetaData != null) {
                return propertyMetaData;
            }
            ClassMetaData superClass = getSuperClass();
            if (superClass != null) {
                return superClass.findProperty(name);
            }
            return null;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                    }
                    PropertyDoc property = classDoc.findProperty(methodName);
                    boolean multiValued = false;
                    if (property != null && method.getParameters().size() == 1 && method.getParameters().get(0).getType().getSignature().equals(Closure.class.getName())) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

                throw new RuntimeException("Class $className does not have a description paragraph.")
            }
            return comment[0]
        }
    
        PropertyDoc findProperty(String name) {
            return classProperties.find { it.name == name }
        }
    
        BlockDoc getBlock(String name) {
            def block = classBlocks.find { it.name == name }
            if (block) {
    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/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                }
                String propName = cells.get(0).getTextContent().trim();
                PropertyMetaData property = classDoc.getClassMetaData().findProperty(propName);
                if (property == null) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
Back to top