Community
Participate
Working Groups
In the following code: public class Example { private static final int POS_ABSTRACT = 0; private static final int POS_NORMAL = 1; public static void main(String[] args) { int[] k = new int[2]; int j = k[P<cursor1>]; System.out.println(k[P<cursor2>]); } } When I invoke the code assistant in <cursor1> position, the fields are visible and everything is OK. But in position <cursor2> only templates are proposed, the fields are not listed there. The same is true for methods. For constructors it seems to work fine (i.e. new Integer(k[P<cursor>)).
Fixed.
Verified.