public class NativeStaticServiceLoaderSourceGenerator extends AbstractStaticServiceLoaderSourceGenerator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
context, DESCRIPTION, FORCE_INCLUDE, REJECTED_CLASSES, SERVICE_LOADING_CATEGORY, SERVICE_TYPES
Constructor and Description |
---|
NativeStaticServiceLoaderSourceGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
generateFindAllMethod(java.util.stream.Stream<java.lang.Class<?>> serviceClasses,
java.lang.String serviceName,
java.lang.Class<?> serviceType,
com.squareup.javapoet.TypeSpec.Builder factory) |
generate
simpleNameOf, staticMethod, staticMethodBuilder, writeServiceFile
public static final java.lang.String ID
public NativeStaticServiceLoaderSourceGenerator()
protected final void generateFindAllMethod(java.util.stream.Stream<java.lang.Class<?>> serviceClasses, java.lang.String serviceName, java.lang.Class<?> serviceType, com.squareup.javapoet.TypeSpec.Builder factory)
generateFindAllMethod
in class AbstractStaticServiceLoaderSourceGenerator