Sign in
third-party-mirror
/
typetools
/
checker-framework
/
refs/heads/main
/
.
/
framework
/
tests
/
initialized-fields-value
/
ClassInitializer3.java
blob: bf9da2a22b77723ab9b3262395ee3d1c6894f9f2 [
file
] [
log
] [
blame
]
import
org
.
checkerframework
.
common
.
value
.
qual
.
IntVal
;
public
class
ClassInitializer3
{
@IntVal
(
1
)
int
x
;
@IntVal
(
2
)
int
y
;
int
z
;
{
if
(
Math
.
random
()
<
0
)
{
x
=
1
;
}
else
{
x
=
1
;
}
}
{
y
=
2
;
}
ClassInitializer3
()
{}
}