public ThriftServiceMetadata(Class<?> serviceType){
  requireNonNull(serviceType,"serviceType");
  interfaces=init(null,Collections.singleton(serviceType));
}

public ThriftServiceMetadata ( Class < ? > serviceType ) { requireNonNull ( serviceType , "serviceType" ) ; interfaces = init ( null , Collections . singleton ( serviceType ) ) ; }
creates a new instance from a single thrift service interface .
