- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for findDeclaredProperty (0.2 sec)
-
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) -
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) -
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)