[BLUEJ-297] Protected methods of other classes can show up in code completion even if they can't be called
Create two unrelated classes, say Foo and Bar (they can be in the same package). In Foo, write {{new Bar().}} and code-complete. You will be shown clone() even though you aren't allowed to call it (you can call clone() on yourself, but not on other classes). See [this link|http://stackoverflow.com/questions/451647/how-are-java-lang-objects-protected-methods-protected-from-subclasses] for details on access to such methods if, like me, you've forgotten.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.3