ClassFileRepr (int fileName, ClassReader cr, boolean isGenerated) { ClassCrawler visitor = new ClassCrawler(fileName, isGenerated); try { cr.accept(visitor, 0); } catch (RuntimeException e) { throw new RuntimeException("Corrupted .class file: " + myContext.getValue(fileName), e); } return visitor.getResult(); }