classBlock_AST = (AST)currentAST.root;
returnAST = classBlock_AST;
}
public final JavaVector interfaceExtends() throws RecognitionException, TokenStreamException {
JavaVector supers;
returnAST = null;
ASTPair currentAST = new ASTPair();
AST interfaceExtends_AST = null;
Token e = null;
AST e_AST = null;
JavaToken id; supers = new JavaVector();
{
switch ( LA(1)) {
case LITERAL_extends:
{
e = LT(1);
if (inputState.guessing==0) {
e_AST = (AST)astFactory.create(e);
}
match(LITERAL_extends);
id=classOrInterfaceType(false);
if (inputState.guessing==0) {
astFactory.addASTChild(currentAST, returnAST);
}
if ( inputState.guessing==0 ) {
supers.addElement(dummyClass(id));
}
{
_loop61:
do {
if ((LA(1)==COMMA)) {
AST tmp38_AST = null;
tmp38_AST = (AST)astFactory.create(LT(1));
match(COMMA);
id=classOrInterfaceType(false);
if (inputState.guessing==0) {
astFactory.addASTChild(currentAST, returnAST);
}
if ( inputState.guessing==0 ) {
supers.addElement(dummyClass(id));
}
}
else {
break _loop61;
}