decl = source.getStatement(0);
decl = source.getStatement(index);
    private static void moveVarDecls(JBlock source, JBlock dest) {	JStatement decl;	while (true) {	    // get statement at front of source	    decl = source.getStatement(0);	    // if it's a var decl...	    if (decl instanceof JVariableDeclarationStatement) {		// add to front of dest		dest.addStatementFirst(decl);		// remove from front of source		source.removeStatement(0);	    } else {		// quite looping when we run out of decl's		break;	    }	}    }