modules/annotation-processor/src/main/java/org/ballerinalang/natives/annotation/processor/BallerinaAnnotationProcessor.java
private void processNativeFunctions(Set<Element> balFunctionElements) {
        for (Element element : balFunctionElements) {
            BallerinaFunction balFunction = element.getAnnotation(BallerinaFunction.class);
            BallerinaAnnotation[] annot = getBallerinaAnnotations(element);
            String packageName = balFunction.packageName();
            String className = Utils.getClassName(element);
            FunctionHolder function = new FunctionHolder(balFunction, className, annot);
            getPackage(packageName).addFunction(function);
        }
    }
/**
     * Process all {@link BallerinaFunction} annotations and append constructs to the class builder.
     * 
     * @param balFunctionElements Elements annotated with {@link BallerinaFunction}
     */
Process all  BallerinaFunction annotations and append constructs to the class builder.


Process all BallerinaFunction annotations and append constructs to the class builder .
private void processNativeFunctions(Set<Element> balFunctionElements) {
        for (Element element : balFunctionElements) {
            BallerinaFunction balFunction = element.getAnnotation(BallerinaFunction.class);
            BallerinaAnnotation[] annot = getBallerinaAnnotations(element);
            String packageName = balFunction.packageName();
            String className = Utils.getClassName(element);
            FunctionHolder function = new FunctionHolder(balFunction, className, annot);
            getPackage(packageName).addFunction(function);
        }
    }
private void processNativeFunctions ( Set < Element > balFunctionElements ) { for ( Element element : balFunctionElements ) { BallerinaFunction balFunction = element . getAnnotation ( BallerinaFunction . class ) ; BallerinaAnnotation [ ] annot = getBallerinaAnnotations ( element ) ; String packageName = balFunction . packageName ( ) ; String className = Utils . getClassName ( element ) ; FunctionHolder function = new FunctionHolder ( balFunction , className , annot ) ; getPackage ( packageName ) . addFunction ( function ) ; } }
Process all {@link BallerinaFunction} annotations and append constructs to the class builder.
Process all { @link BallerinaFunction } annotations and append constructs to the class builder .