138 for (Field f: getFields(tree)) { |
138 for (Field f: getFields(tree)) { |
139 if (TypeBoundKind.class.isAssignableFrom(f.getType())) { |
139 if (TypeBoundKind.class.isAssignableFrom(f.getType())) { |
140 // not part of public API |
140 // not part of public API |
141 continue; |
141 continue; |
142 } |
142 } |
143 if (JCTree.JCNewArray.class.isAssignableFrom(tree.getClass()) |
|
144 && (f.getName().equals("annotations") |
|
145 || f.getName().equals("dimAnnotations"))) { |
|
146 // these fields are incorrectly missing from the public API |
|
147 // (CR 6983297) |
|
148 continue; |
|
149 } |
|
150 try { |
143 try { |
151 //System.err.println("FIELD: " + f.getName()); |
144 //System.err.println("FIELD: " + f.getName()); |
152 reflectiveScan(f.get(tree)); |
145 reflectiveScan(f.get(tree)); |
153 } catch (IllegalAccessException e) { |
146 } catch (IllegalAccessException e) { |
154 error(e.toString()); |
147 error(e.toString()); |