Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
framework
/
tests
/
framework
/
Unboxing.java
blob: 8aa1169524f526a44254deeed4bf596f3c926388 [
file
] [
log
] [
blame
]
public
class
Unboxing
{
boolean
b
=
Boolean
.
TRUE
;
<
T
>
T foo
(
Class
<
T
>
expectedType
)
{
return
null
;
}
boolean
b2
=
foo
(
Boolean
.
class
);
boolean
b3
=
foo
(
null
);
<
T
>
T bar
()
{
return
null
;
}
boolean
b4
=
bar
();
}