Annotation Type Reflected

  • @Retention(RUNTIME)
    public @interface Reflected
    A type annotated with this annotation will be added to native image with reflection support for all methods and fields (including private). A method or field annotated with this method will be added for reflection.

    This is an alternative to GraalVM native-image's reflect-config.json file, specific to Helidon. Processing of this annotation requires io.helidon.integrations.graal:helidon-graal-native-image-extension on the classpath when building native image.

    Constructors annotated with this annotation would only be added for reflection if either a field or a method is annotated as well (this is current limitation of API of native image).