diff --git a/java/developing-applications/building.md b/java/developing-applications/building.md index 5916fb860d..8d2b6659aa 100644 --- a/java/developing-applications/building.md +++ b/java/developing-applications/building.md @@ -575,6 +575,15 @@ Other options in this goal enable or disable certain features that change the wa The method `getService()` in generated [event-specific Event Context interfaces](../event-handlers/#eventcontext) is overridden to return the typed service interface instead of the generic `Service` type. +- [`generateClasses`](../assets/cds-maven-plugin-site/generate-mojo.html#generateClasses) + + Generates static class-based implementations for interfaces, replacing dynamic proxies at runtime. + This significantly improves performance and removes the limit on the number of methods an accessor interface may declare. + + The generated classes are internal — do not reference them directly from application code. + + Hand-written [accessor interfaces](../cds-data#typed-access), for which no implementation class is generated, are still supported via [proxy](../cds-data#cds-data) fallback. + :::warning Check migration guides! In major releases of CAP Java, some of these switches can be made the new default and some other switches might be removed. This might introduce compile errors in your application that needs to be fixed.