modules/ballerina-native/src/test/java/org/ballerinalang/nativeimpl/util/FunctionUtils.java
public static void addNativeFunction(SymScope symScope, AbstractNativeFunction function) {
        SymbolName symbolName = LangModelUtils.getSymNameWithParams(function.getPackagePath() + ":" +
                function.getClass().getAnnotation(BallerinaFunction.class).functionName(), function.getParameterDefs());
        Symbol symbol = new Symbol(function);
        symScope.insert(symbolName, symbol);
    }
/**
     * Add Native Function instance to given SymScope.
     *
     * @param symScope SymScope instance.
     * @param function Function instance.
     */
Add Native Function instance to given SymScope.
@param symScope SymScope instance.
@param function Function instance.
Add Native Function instance to given SymScope . @param symScope SymScope instance . @param function Function instance .
public static void addNativeFunction(SymScope symScope, AbstractNativeFunction function) {
        SymbolName symbolName = LangModelUtils.getSymNameWithParams(function.getPackagePath() + ":" +
                function.getClass().getAnnotation(BallerinaFunction.class).functionName(), function.getParameterDefs());
        Symbol symbol = new Symbol(function);
        symScope.insert(symbolName, symbol);
    }
public static void addNativeFunction ( SymScope symScope , AbstractNativeFunction function ) { SymbolName symbolName = LangModelUtils . getSymNameWithParams ( function . getPackagePath ( ) + ":" + function . getClass ( ) . getAnnotation ( BallerinaFunction . class ) . functionName ( ) , function . getParameterDefs ( ) ) ; Symbol symbol = new Symbol ( function ) ; symScope . insert ( symbolName , symbol ) ; }
Add Native Function instance to given SymScope.
Add Native Function instance to given SymScope .