final public CompilationUnit CompilationUnit() throws ParseException {
PackageDeclaration pakage = null;
List imports = null;
ImportDeclaration in = null;
List types = null;
TypeDeclaration tn = null;
int line = -1;
int column = 0;
if (jj_2_1(2147483647)) {
pakage = PackageDeclaration();
line = pakage.getBeginLine();
column = pakage.getBeginColumn();
} else {
;
}
label_1: while (true) {
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case IMPORT:
;
break;
default:
jj_la1[0] = jj_gen;
break label_1;
}
in = ImportDeclaration();
if (line == -1) {
line = in.getBeginLine();
column = in.getBeginColumn();
}
imports = add(imports, in);
}
label_2: while (true) {
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case ABSTRACT:
case CLASS:
case ENUM:
case FINAL:
case INTERFACE:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case STRICTFP:
case SYNCHRONIZED:
case TRANSIENT:
case VOLATILE:
case SEMICOLON:
case AT:
;
break;
default:
jj_la1[1] = jj_gen;
break label_2;
}
tn = TypeDeclaration();
if (line == -1) {
line = tn.getBeginLine();
column = tn.getBeginColumn();
}
types = add(types, tn);
}
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case 0: