Community
Participate
Working Groups
In the type hierarchy (F4) and quick type hierarchy (CTRL+T) method references are not shown. Lambdas are shown. The following code example demonstrates this behaviour. public class TypeHierarchy { private interface MyInterface { void interfaceMethod(String str); // 1 } public static void main(String[] args) { MyInterface interfaceLambda = str -> System.out.println(str); // 2 MyInterface interfaceMethodReference = TypeHierarchy::interfaceMethodImplentation; // 3 } private static void interfaceMethodImplentation(String str) { System.out.println(str); } } Calling the type hierarchy on MyInterface#interfaceMethod (1) does display the lambda only (2). The method reference is not shown (3).
*** This bug has been marked as a duplicate of bug 423123 ***