mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 05:10:22 +07:00
add test for java call hierarchy with wildcards; refactor HierarchyTester to allow node descriptor comparator to test the children order
GitOrigin-RevId: 6b60e71eb99206b38072c3b43e68b4a56c9ff80b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dcd374eb82
commit
079e80a8ab
@@ -8,8 +8,10 @@ class BoardImpl implements Board {
|
||||
public int getCount() {return 0;}
|
||||
}
|
||||
class King<B extends Board> {
|
||||
B board;
|
||||
boolean isLast() {
|
||||
return board.getCount() == 1;
|
||||
}
|
||||
boolean isLast1(B board) {
|
||||
return board.getCount() == 1;
|
||||
}
|
||||
boolean isLast2(java.util.List<? extends Board> list) {
|
||||
return list.get(0).getCount() == 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<node text="BoardImpl.getCount() (p)" base="true">
|
||||
<node text="King.isLast() (p)"/>
|
||||
<node text="King.isLast1(B) (p)"/>
|
||||
<node text="King.isLast2(List<? extends Board>) (p)"/>
|
||||
</node>
|
||||
|
||||
Reference in New Issue
Block a user