InputStream (String internalClassName) { final BinaryContent content = outputConsumer.lookupClassBytes(internalClassName.replace("/", ".")); if (content != null) { return new ByteArrayInputStream(content.getBuffer(), content.getOffset(), content.getLength()); } return null; }