[X] I confirm that this issue is not a duplicate and hasn't been reported before.
[X] I agree to follow the project's code of conduct.
[X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.
Additional terms
[X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
[X] I agree to provide all requested details promptly for a comprehensive bug report.
Issue explanation
Steps to reproduce:
Create a class like this:
package com;
import java.io.File;
import java.util.Comparator;
public class MyComparator implements Comparator {
}
2. Hold down and find `implement abstract method(s)`.
The result:
```java
public class MyComparator implements Comparator<File> {
@Override
public int compare(T arg0, T arg1) {}
}
However, if you use Override superclass methods and select compare(Object, Object), the result is:
import java.io.File;
import java.util.Comparator;
public class MyComparator implements Comparator<File> {
@Override
public int compare(File arg0, File arg1) {
return 0;
}
}
Expected behavior
import java.io.File;
import java.util.Comparator;
public class MyComparator implements Comparator<File> {
@Override
public int compare(File arg0, File arg1) {
return 0;
}
}
Version name
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b31
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 31
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : samsung
Device : SM-M127F
Issue Checklist
Additional terms
Issue explanation
Steps to reproduce:
import java.io.File; import java.util.Comparator;
public class MyComparator implements Comparator {
}
However, if you use
Override superclass methods
and selectcompare(Object, Object)
, the result is:Expected behavior
Version name
Version : v2.7.1-beta (27102) CI Build : true Branch : main Commit : 55bb46b31 Variant : arm64-v8a (release) Build type : OFFICIAL F-Droid Build : false F-Droid Version : null F-Droid Version code : -1 SDK Version : 31 Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi] Manufacturer : samsung Device : SM-M127F
Download source
GitHub
Relevant log output
No response