Class NativeInitializationEntry

    • Method Detail

      • ofRuntimeTypeName

        public static NativeInitializationEntry ofRuntimeTypeName​(java.lang.String typeName)
        Create a new runtime NativeInitializationEntry for the specified type name.
        Parameters:
        typeName - the related type name
        Returns:
        the initialization entry
        Throws:
        java.lang.IllegalArgumentException - when the type can't be found
      • ofBuildTimeTypeName

        public static NativeInitializationEntry ofBuildTimeTypeName​(java.lang.String typeName)
        Create a new build-time NativeInitializationEntry for the specified type name.
        Parameters:
        typeName - the related type name
        Returns:
        the initialization entry
        Throws:
        java.lang.IllegalArgumentException - when the type can't be found
      • ofRuntimePackage

        public static NativeInitializationEntry ofRuntimePackage​(java.lang.String packageName)
        Create a new runtime NativeInitializationEntry for the specified package name.
        Parameters:
        packageName - the related package name
        Returns:
        the initialization entry
      • ofBuildTimePackage

        public static NativeInitializationEntry ofBuildTimePackage​(java.lang.String packageName)
        Create a new build-time NativeInitializationEntry for the specified package name.
        Parameters:
        packageName - the related package name
        Returns:
        the initialization entry
      • contribute

        public void contribute​(org.springframework.nativex.domain.init.InitializationDescriptor descriptor)