- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getRawReturnType (0.14 sec)
-
testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java
&& m.getRawParameterTypes().size() == 0 && (accessorType != PropertyAccessorType.IS_GETTER || m.getRawReturnType().isEquivalentTo(Boolean.TYPE) || m.getRawReturnType().isEquivalentTo(Boolean.class)); } private static boolean isSetter(JavaMethod m, PropertyAccessorType accessorType) { return !m.getModifiers().contains(JavaModifier.STATIC)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderMigrationArchitectureTest.java
boolean hasSetter = hasSetter(javaMethod); Class<?> expectedReturnType = hasSetter ? mutableType : immutableType; boolean satisfied = javaMethod.getRawReturnType().isAssignableTo(expectedReturnType); String message = createMessage(javaMethod, (satisfied ? "has " : "does not have ") + "raw return type assignable to " + expectedReturnType.getName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.1K bytes - Viewed (0)