@@ -29,7 +29,6 @@ private record ResultType(String type, String handler, boolean nonBlocking) {}
2929 private final ProcessingEnvironment processingEnvironment ;
3030 private final boolean debug ;
3131 private final boolean incremental ;
32- private final boolean services ;
3332 private final String routerPrefix ;
3433 private final String routerSuffix ;
3534 private final BiConsumer <Diagnostic .Kind , String > output ;
@@ -46,13 +45,11 @@ public MvcContext(
4645 this .incremental = Options .boolOpt (processingEnvironment , Options .INCREMENTAL , true );
4746 this .returnType = Options .boolOpt (processingEnvironment , Options .RETURN_TYPE , false );
4847 this .mvcMethod = Options .boolOpt (processingEnvironment , Options .MVC_METHOD , true );
49- this .services = Options .boolOpt (processingEnvironment , Options .SERVICES , true );
5048 this .routerPrefix = Options .string (processingEnvironment , Options .ROUTER_PREFIX , "" );
5149 this .routerSuffix = Options .string (processingEnvironment , Options .ROUTER_SUFFIX , "_" );
5250 computeResultTypes (processingEnvironment , handler ::put );
5351
5452 debug ("Incremental annotation processing is turned %s." , incremental ? "ON" : "OFF" );
55- debug ("Generation of service provider configuration is turned %s." , services ? "ON" : "OFF" );
5653 }
5754
5855 private void computeResultTypes (
@@ -243,10 +240,6 @@ public Set<TypeElement> superTypes(Element owner) {
243240 return result ;
244241 }
245242
246- public boolean generateServices () {
247- return services ;
248- }
249-
250243 public boolean generateMvcMethod () {
251244 return mvcMethod ;
252245 }
0 commit comments