Annotation Interface AutomaticFeature


@Deprecated(forRemoval=true) @Retention(RUNTIME) @Target(TYPE) public @interface AutomaticFeature
Deprecated, for removal: This API element is subject to removal in a future version.
Supported API is available to replace this non-API annotation: Instead of using this annotation, use --features=fully.qualified.name.of.FeatureClass in the Args of a native-image.properties file to ensure a user-provided feature gets processed. Feature classes that use this annotation are unconditionally added when they are reachable on the class path. This annotation is deprecated because a full scan of the class path is necessary to find annotated classes. This full classpath scanning will be removed in a future version of GraalVM, which means that this annotation needs to be removed then too.
Since:
22.3