#707 InnerTypeLast within methods

release_5.0
closed
nobody
None
4
2013-09-29
2013-08-29
No

Following code leads to the checkstyle warning InnerTypeLast. This should not happen as it's not even possible to declare the variable before the inner class.

class Outer {
void method() {
class Inner {
}
Inner inner = new Inner();
}
}

Discussion

  • Roman Ivanov
    Roman Ivanov
    2013-09-29

    • status: open --> closed