- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for overriddenMethod (0.14 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
ClassMetaData superClassMetaData = Mock() MethodMetaData overriddenMethod = Mock() when: def m = method.overriddenMethod then: m == overriddenMethod _ * owner.superClass >> superClassMetaData _ * owner.interfaces >> [] 1 * superClassMetaData.findDeclaredMethod('method()') >> overriddenMethod } def locatesOverriddenMethodInDirectlyImplementedInterface() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java
ClassMetaData cl = queue.removeFirst(); if (cl == null) { continue; } MethodMetaData overriddenMethod = cl.findDeclaredMethod(overrideSignature); if (overriddenMethod != null) { return overriddenMethod; } queue.add(cl.getSuperClass()); queue.addAll(cl.getInterfaces()); } return null;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaData.java
MethodMetaData overriddenMethod = null; if (getter != null) { overriddenMethod = getter.getOverriddenMethod(); } if (overriddenMethod == null && setter != null) { overriddenMethod = setter.getOverriddenMethod(); } if (overriddenMethod != null) { return overriddenMethod.getOwnerClass().findDeclaredProperty(name); }
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/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy
propertyMetaData.setter = setter when: def p = propertyMetaData.overriddenProperty then: p == overriddenProperty 1 * getter.overriddenMethod >> null _ * setter.overriddenMethod >> overriddenSetter _ * overriddenSetter.ownerClass >> overriddenClass _ * overriddenClass.findDeclaredProperty('prop') >> overriddenProperty }
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/docbook/JavadocConverter.java
MethodMetaData overriddenMethod = methodMetaData.getOverriddenMethod(); if (overriddenMethod == null) { listener.warning("No inherited javadoc comment found."); return Arrays.asList(document.createTextNode("!!NO INHERITED DOC COMMENT!!")); } return parse(overriddenMethod, listener).getDocbook(); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 29.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0)