modules/ballerina-core/src/main/java/org/ballerinalang/natives/BuiltInNativeConstructLoader.java
public static void loadConstructs(GlobalScope globalScope) {
        Iterator<NativeConstructLoader> nativeConstructLoaders =
            ServiceLoader.load(NativeConstructLoader.class).iterator();
        while (nativeConstructLoaders.hasNext()) {
            NativeConstructLoader constructLoader = nativeConstructLoaders.next();
            constructLoader.load(globalScope);
        }
    }
/**
     * Load the native constructs to the provided symbol scope.
     *
     * @param globalScope   Symbol scope to load native constructs
     */
Load the native constructs to the provided symbol scope.
@param globalScope   Symbol scope to load native constructs
Load the native constructs to the provided symbol scope . @param globalScope Symbol scope to load native constructs
public static void loadConstructs(GlobalScope globalScope) {
        Iterator<NativeConstructLoader> nativeConstructLoaders =
            ServiceLoader.load(NativeConstructLoader.class).iterator();
        while (nativeConstructLoaders.hasNext()) {
            NativeConstructLoader constructLoader = nativeConstructLoaders.next();
            constructLoader.load(globalScope);
        }
    }
public static void loadConstructs ( GlobalScope globalScope ) { Iterator < NativeConstructLoader > nativeConstructLoaders = ServiceLoader . load ( NativeConstructLoader . class ) . iterator ( ) ; while ( nativeConstructLoaders . hasNext ( ) ) { NativeConstructLoader constructLoader = nativeConstructLoaders . next ( ) ; constructLoader . load ( globalScope ) ; } }
Load the native constructs to the provided symbol scope.
Load the native constructs to the provided symbol scope .