Sign in
android
/
platform
/
tools
/
idea
/
934b9431b0b827a132df794e307fe5a2b70de00b
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
daemonCodeAnalyzer
/
advHighlighting
/
MustBeFinal.java
blob: f2a914b6ff6023fa178ae86cad636258f47953ec [
file
] [
log
] [
blame
]
class
m
{
int
i
;
void
f
()
{
int
r
=
0
;
new
Runnable
()
{
public
void
run
()
{
int
k
=
<
error descr
=
"Variable 'r' is accessed from within inner class. Needs to be declared final."
>
r
</
error
>;
int
ii
=
i
;
}
};
}
}