As per the conversation in this PR and offline, it would be simpler to express sequence and scalar nested types as is instead of creating another nested class/struct for it. This will be implemented in a separate PR.
Example ISL:
class Foo {
private sequence_type: ArrayList<Integer>; // current impl would treat it as `NestedTypeX`
private scalar_type: String; // current impl would treat it as `NestedTypeY`
...
}
As per the conversation in this PR and offline, it would be simpler to express sequence and scalar nested types as is instead of creating another nested class/struct for it. This will be implemented in a separate PR. Example ISL:
Output Java:
Originally posted by @desaikd in https://github.com/amazon-ion/ion-cli/issues/109#issuecomment-2128195270