@Documented @Retention(SOURCE) @Target(TYPE) public @interface AutoService
ServiceLoader
. The
ServiceProviderProcessor
generates the configuration files which allows service providers
to be loaded with ServiceLoader.load(Class)
.
Service providers assert that they conform to the service provider specification. Specifically, they must:
value()
Class<?> value
Copyright © 2019 Google, Inc.. All rights reserved.