Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
daemonCodeAnalyzer
/
lambda
/
graphInference
/
InferFromConditionalExpressionCondition.java
blob: 8fad96c118edc19368a2fdb02f7c316adba675f2 [
file
] [
log
] [
blame
]
class
Test
{
static
class
TKey
<
T
>
{
}
public
interface
Getter
{
<
T
>
T getValue
(
TKey
<
T
>
key
);
}
static
final
TKey
<
Boolean
>
KEY_B
=
new
TKey
<>();
public
static
void
f
(
Getter
getter
)
{
String
name
=
getter
.
getValue
(
KEY_B
)
?
"foo"
:
"bar"
;
}
}