presto-thrift/src/main/java/io/prestosql/plugin/thrift/ThriftPlugin.java/ThriftPlugin/getPluginInfo
class ThriftPlugin:    private static ThriftPluginInfo getPluginInfo()
    {
        ClassLoader classLoader = ThriftPlugin.class.getClassLoader();
        ServiceLoader<ThriftPluginInfo> loader = ServiceLoader.load(ThriftPluginInfo.class, classLoader);
        List<ThriftPluginInfo> list = ImmutableList.copyOf(loader);
        return list.isEmpty() ? new ThriftPluginInfo() : getOnlyElement(list);
    }