presto-main/src/main/java/io/prestosql/server/PluginDiscovery.java/PluginDiscovery/classInterfaces
class PluginDiscovery:    private static List<String> classInterfaces(String name, ClassLoader classLoader)
    {
        ImmutableList.Builder<String> list = ImmutableList.builder();
        ClassReader reader = readClass(name, classLoader);
        for (String binaryName : reader.getInterfaces()) {
            list.add(javaName(binaryName));
        }
        if (reader.getSuperName() != null) {
            list.addAll(classInterfaces(javaName(reader.getSuperName()), classLoader));
        }
        return list.build();
    }