inline constant: do not override qualifier

This commit is contained in:
anna
2010-07-27 14:59:02 +04:00
parent 5b0a120466
commit eea315f19b
4 changed files with 31 additions and 2 deletions
@@ -0,0 +1,10 @@
class QTest {
final int myI = Source.CONST;
public static void main(String[] args) {
System.out.println(new QTest().my<caret>I);
}
}
class Source {
int CONST = 0;
}
@@ -0,0 +1,9 @@
class QTest {
public static void main(String[] args) {
System.out.println(Source.CONST);
}
}
class Source {
int CONST = 0;
}