I am getting this error:
Description Resource Path Location Type
The code for the static initializer is exceeding the 65535 bytes limit InternalMyDslParser.java /xtext/src-gen/org/parser/antlr/internal line 24 Java Problem
Description Resource Path Location Type
The code of method specialStateTransition(int, IntStream) is exceeding the 65535 bytes limit InternalMyDslParser.java /xtext/src-gen/org/parser/antlr/internal line 86552 Java Problem
Are there any settings in the MWE that I can set to get rid of this error?
I tried setting the fieldsPerClass and methodsPerClass in my ANTLR fragment but the error is the same.
fragment = parser.antlr.XtextAntlrGeneratorFragment auto-inject {
options = {
backtrack = false
memoize = true
classSplitting=true
fieldsPerClass = "100"
methodsPerClass = "100"
}
}
How to get rid of this error?