mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
IDEA-260227 add test for ctrl+mouse documentation on a lambda parameter
GitOrigin-RevId: 65b32ec19f159956adc298eba0d02aa05d4c2c0d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
15c38734d4
commit
98f2cd578a
@@ -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>
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user