changed printedclasses to protected, so we can use it in
AndroidCodePrinter