I have such code:

public class Foo {
    public class Bar implements Parcelable {
        public static final Parcelable.Creator<Type> CREATOR =
                   new Parcelable.Creator<Type>() {
                   @Override
                   ....
        }
    }
}

Eclipse says:

The field CREATOR cannot be declared static in a non-static inner type, unless 
initialized with a constant expression

Please tell me what is it? I think it is because I have a nested class, but I don't know, how to correct the mistake.

Edit
Report