Top Description Methods
com.google.auto.service

public @Interface AutoService

extends Annotation
Annotations
@Documented
@Retention:CLASS
@Target:TYPE
Static Imports
java.lang.annotation.ElementType.TYPE, .RetentionPolicy.CLASS

An annotation for service providers as described in java.util.ServiceLoader. The annotation processor generates the configuration files that allow the annotated class to be loaded with java.util.ServiceLoader#load(Class).

The annotated class must conform to the service provider specification. Specifically, it must:

Method Summary

Modifier and TypeMethod and Description
public Class<?>[]
value()

Returns the interfaces implemented by this service provider.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<?>[] value()

Returns the interfaces implemented by this service provider.