class ArrayLengthExpressionTest {
    public static void main(String[] args) {
        int i;
        int[] ia;
        long l;
        long[] la;
        boolean b;
        A cA;
        B cB;

        i = i.length;  // LENGTH_ON_NON_ARRAY
        i = l.length;  // LENGTH_ON_NON_ARRAY
        i = b.length;  // LENGTH_ON_NON_ARRAY
        i = cA.length; // LENGTH_ON_NON_ARRAY
    }
}
class A {}
class B {}

@@ -226,32 +226,65 @@
 TH_ON_NON_ARRAY%0A
+        //i = ia.length;  // OK!%0A
         i = l.le
@@ -305,32 +305,65 @@
 TH_ON_NON_ARRAY%0A
+        //i = la.length;  // OK!%0A
         i = b.le

Add comments about valid length usages.