Unions do not need a field order, so automatically provide a value to satisfy checking in the Structure superclass.
()
| 65 | * satisfy checking in the Structure superclass. |
| 66 | */ |
| 67 | @Override |
| 68 | protected List<String> getFieldOrder() { |
| 69 | List<Field> flist = getFieldList(); |
| 70 | List<String> list = new ArrayList<>(flist.size()); |
| 71 | for (Field f : flist) { |
| 72 | list.add(f.getName()); |
| 73 | } |
| 74 | return list; |
| 75 | } |
| 76 | |
| 77 | /** Indicates by type which field will be used to write to native memory. |
| 78 | * If there are multiple fields of the same type, use {@link |
nothing calls this directly
no test coverage detected