Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 2.6.1.Release
-
Component/s: Content Assist, Inferencing Engine
-
Labels:
-
Number of attachments :
Description
In the following example:
class Z {
private getZ1() {}
private static getZ2() {}
private int z3
private static int z4
private Closure z5 = {}
private static Closure z6 = {}
private enum Z7 { A }
private static enum Z8 { A }
private class Z9 {}
private static class Z10 {}
}
There should be no proposals and everything should be underlined in the following examples:
Z z = new Z() z.getZ1() Z.getZ2() z.z3 Z.z4 z.z5() Z.z6() Z.Z7.A Z.Z8.A new Z.Z9() new Z.Z10()
Currently it appears as though content assist will propose the private memebers and the editor will infer / resolve them as well. This should not be the case.
This issue only applies to when outside the enclosing class.