Open rlwhitcomb opened 3 years ago
It could be an option if we decide to drop Java 7, but imho default interface methods are convenient for hand written code, but do not add value to computer generated code
It is also actual for C# 8 that have default interface methods feature.
Maybe it makes sense to add an option -Dversion
that defines the language version of the generated code.
Java 8+ supports default interface methods which could be used instead of generating separate BaseListener or BaseVisitor classes. Could this be an option when generating for Java 8+?