private static final Logger logger = Logger.getLogger(BytecodeRenderer.class.getName());
public void render(EditorRow er, JavaBytecodeSyntaxDrawer sd, Imports ia) {
if (er instanceof PackageDefRow) {
PackageDefRow pdr = (PackageDefRow)er;
if (pdr.getPackage().equals("")) {
sd.drawComment("// Class is in the default package.");
} else {
sd.drawKeyword("package ");
sd.drawDefault(pdr.getPackage() + ";");
}
} else if (er instanceof ImportDefRow) {
ImportDefRow idr = (ImportDefRow)er;
sd.drawKeyword("import ");
sd.drawDefault(idr.getImport() + ";");