Code Inspections not resolving for inner classes

Issue #869 resolved
Derek Wiers created an issue

The specific case is easiest explained in some sample code:

public class OuterClass {
    private abstract class innerBaseClass {
        protected String someString;
        public abstract String returnTheString ();
    }
    private class innerConcreteClass extends innerBaseClass {
        public override String returnTheString () { // IC doesn't recognize what I'm overriding
            return someString;  // <== I should be able to do this - it compiles but IC doesn't like it
        }
    }
}

Basically, if the class you're extending is an inner class, IC must not be cataloging it quite right. Technically I don't know if this code would run, but it compiles...

Also, I'm a terrible person and am still on 2.0.0.6 (not available in Version field), so if you've fixed this issue since then, please feel free to close this ticket up and I'll chalk it up to my own ignorance.

Comments (4)

  1. Log in to comment