anonymous->inner: do not generate public static class inside interface

This commit is contained in:
anna
2011-06-29 19:21:14 +04:00
parent 9f5becabed
commit 883073fede
5 changed files with 37 additions and 17 deletions

View File

@@ -0,0 +1,8 @@
interface M {
Runnable r = new Runnable() {<caret>
@Override
public void run() {
}
};
}

View File

@@ -0,0 +1,10 @@
interface M {
Runnable r = new MyRunnable();
class MyRunnable implements Runnable {
@Override
public void run() {
}
}
}