Class NativeConfigurationRegistry.ReflectionConfiguration

  • Enclosing class:
    NativeConfigurationRegistry

    public static final class NativeConfigurationRegistry.ReflectionConfiguration
    extends java.lang.Object
    Configure the need for runtime reflection metadata on classes, methods, and fields.
    • Method Detail

      • addExecutable

        public NativeConfigurationRegistry.ReflectionConfiguration addExecutable​(java.lang.reflect.Executable executable)
        Register the specified method or constructor for invocation and metadata query access.
        Parameters:
        executable - the executable to register
        Returns:
        this for method chaining
      • addQueriedExecutable

        public NativeConfigurationRegistry.ReflectionConfiguration addQueriedExecutable​(java.lang.reflect.Executable executable)
        Register the specified method or constructor for metadata query access only.
        Parameters:
        executable - the executable to register
        Returns:
        this for method chaining
      • reflectionEntries

        public java.util.stream.Stream<DefaultNativeReflectionEntry> reflectionEntries()
        Return the entries of this registry.
        Returns:
        the entries in the registry
      • generatedCodeEntries

        public java.util.stream.Stream<GeneratedCodeNativeReflectionEntry> generatedCodeEntries()
        Return the generated code entries of this registry.
        Returns:
        the entries in the registry for generated code
      • toClassDescriptors

        public java.util.List<org.springframework.nativex.domain.reflect.ClassDescriptor> toClassDescriptors()
        Return the entries of this registry.
        Returns:
        the classes entries in the registry, as ClassDescriptor instances