IDEA-260227 add test for ctrl+mouse documentation on a lambda parameter

GitOrigin-RevId: 65b32ec19f159956adc298eba0d02aa05d4c2c0d
This commit is contained in:
Daniil Ovchinnikov
2021-01-26 19:31:34 +01:00
committed by intellij-monorepo-bot
parent 15c38734d4
commit 98f2cd578a
4 changed files with 52 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
<html><head><style>
body, div, td, p {font-family:'Lucida Grande'; font-size:13pt; color:#000000;}
a {font-family:'Lucida Grande'; font-size:13pt; color:#589df6;}
code {font-size:13pt;}
ul {list-style:disc; margin-left:15px;}
</style></head><body><a href="psi_element://java.lang.String">String</a> item</body></html>

View File

@@ -0,0 +1,14 @@
interface FunctionalInterface<T> {
void apply(T t);
}
interface MethodOwner<T> {
void method(FunctionalInterface<T> fi);
}
class JavaClass {
void usage(MethodOwner<String> mo) {
mo.method(<caret>item -> System.out.println(item));
}
}