MoreElements.getLocalAndInheritedMethods or alternative should resolve type parameters if applicable
Đang mở
Component: common
P3
type=enhancement
- Ngôn ngữ chính
- Java
- Star
- 10.6k
- Fork
- 1.2k
- Merge trung bình
- 6 giờ 32 phút
- Pull request đã merge (30 ngày)
- 13
Mô tả
I have the following class hierarchy:
```
public interface ASuperInterface {
void test(A a);
}
public interface AnInterface extends ASuperInterface {
void test();
}
```
Calling `MoreElements.getLocalAndInheritedMethods` on the element representing `AnInterface` gives me a method `void test(A a)` instead of a method `void test(String a)`.
If this is intended and there is no other recommended way to resolve type parameters like this, I think auto-common should include an helper to do so.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.