We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab46542 commit a4b81edCopy full SHA for a4b81ed
retrofit/src/main/java/retrofit2/Retrofit.java
@@ -191,7 +191,9 @@ private void validateServiceInterface(Class<?> service) {
191
if (validateEagerly) {
192
Platform platform = Platform.get();
193
for (Method method : service.getDeclaredMethods()) {
194
- if (!platform.isDefaultMethod(method) && !Modifier.isStatic(method.getModifiers())) {
+ if (!platform.isDefaultMethod(method)
195
+ && !Modifier.isStatic(method.getModifiers())
196
+ && !method.isSynthetic()) {
197
loadServiceMethod(service, method);
198
}
199
0 commit comments