public static String getParserClassname(Parser parser) {
        if (parser instanceof ParserDecorator) {
            return ((ParserDecorator) parser).getWrappedParser().getClass().getName();
        } else {
            return parser.getClass().getName();
        }
    }
Identifies the real class name of the {@link Parser}, unwrapping
any {@link ParserDecorator} decorations on top of it.
tika-core/src/main/java/org/apache/tika/utils/ParserUtils.java