- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getOtherThing (0.3 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy
obj.getThing() == 12 obj.getProperty("thing") == 12 obj.getOtherThing() == ["Hello", "Number"] obj.doSomething() == "Hello Number 12" def returnType = obj.getClass().getDeclaredMethod("getThing").genericReturnType returnType == Number.class def otherReturnType = obj.getClass().getDeclaredMethod("getOtherThing").genericReturnType otherReturnType instanceof ParameterizedType
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 15.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java
@Inject public abstract List<T> getOtherThing(); } public static abstract class AbstractClassRealizingTwoTypeParameters extends AbstractClassWithTwoTypeParameters<String, Number> { public String doSomething() { Number thing = getThing(); List<String> otherThing = getOtherThing(); return Joiner.on(" ").join(otherThing) + " " + thing;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 74.6K bytes - Viewed (0)