amazon-ion / ion-java-benchmark-cli

Apache License 2.0
7 stars 9 forks source link

Adds feature to process the constraint 'annotations'. #38

Closed linlin-s closed 2 years ago

linlin-s commented 2 years ago

Issue #, if available:

Description of changes: This PR adds class Annotations to process the constraint annotations. After parsing the constraint value to Annotations, we are able to get a list of annotations or null based on the annotation required | optional | orderedof the constraint.

DataConstructor.java:

ReparsedType.java

Annotations:

Test: Adds a test case that cover the constraint annotations .

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.