InnerTypeLast within methods #6

romani opened this Issue Sep 29, 2013 · 0 comments


None yet

1 participant

romani commented Sep 29, 2013

Created: 2013-08-29
Creator: Alexander Weickmann

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();
@romani romani added a commit that referenced this issue Dec 2, 2014
@ychulovskyy ychulovskyy InnerTypeLast within methods #6 4c38421
@romani romani closed this Dec 2, 2014
@MEZk MEZk added a commit to MEZk/checkstyle that referenced this issue Dec 16, 2015
@MEZk MEZk Attempt #6 ff73b06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment