public void parse(InputStream stream) throws TikaException, SAXException, IOException {
        try {
            ClassReader reader = new ClassReader(stream);
            reader.accept(this, ClassReader.SKIP_FRAMES | ClassReader.SKIP_CODE);
        } catch (RuntimeException e) {
            WriteLimitReachedException.throwIfWriteLimitReached(e);
            throw new TikaException("Failed to parse a Java class", e);
        }
    }
Class visitor that generates XHTML SAX events to describe the
contents of the visited class.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-code-module/src/main/java/org/apache/tika/parser/asm/XHTMLClassVisitor.java