MINOR; Provide static constants with lowest and highest supported versions alongside with the schema
Reviewers: Colin P. McCabe
@@ -348,5 +348,9 @@ final class SchemaGenerator {
buffer.decrementIndent();
buffer.printf("};%n");
buffer.printf("%n");
+
+ buffer.printf("public static final short LOWEST_SUPPORTED_VERSION = %d;%n", versions.lowest());
+ buffer.printf("public static final short HIGHEST_SUPPORTED_VERSION = %d;%n", versions.highest());
+ buffer.printf("%n");
}
}
