Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for findDeclaredProperty (0.2 sec)

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

            then:
            p == overriddenProperty
            _ * getter.overriddenMethod >> overriddenGetter
            _ * overriddenGetter.ownerClass >> overriddenClass
            _ * overriddenClass.findDeclaredProperty('prop') >> overriddenProperty
        }
    
        def usesSetterToLocateOverriddenPropertyWhenPropertyHasNoGetter() {
            MethodMetaData setter = Mock()
            MethodMetaData overriddenSetter = Mock()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaData.java

                overriddenMethod = setter.getOverriddenMethod();
            }
            if (overriddenMethod != null) {
                return overriddenMethod.getOwnerClass().findDeclaredProperty(name);
            }
    
            return null;
        }
    
        @Override
        public void visitTypes(Action<TypeMetaData> action) {
            action.execute(type);
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

                property.setRawCommentText(rawCommentText);
            }
            property.setSetter(setterMethod);
            return property;
        }
    
        public PropertyMetaData findDeclaredProperty(String name) {
            return declaredProperties.get(name);
        }
    
        public Set<String> getDeclaredPropertyNames() {
            return declaredProperties.keySet();
        }
    
    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