modules/annotation-processor/src/main/java/org/ballerinalang/natives/annotation/processor/BallerinaAnnotationProcessor.java
private void processNativeActions(Set<Element> balActionElements) {
        for (Element element : balActionElements) {
            BallerinaAction balAction = element.getAnnotation(BallerinaAction.class);
            String packageName = balAction.packageName();
            String className = Utils.getClassName(element);
            ActionHolder action = new ActionHolder(balAction, className);
            action.setAnnotations(getBallerinaAnnotations(element));
            getPackage(packageName).getConnector(balAction.connectorName()).addAction(action);
        }
    }
/**
     * Process all {@link BallerinaAction} annotations and append constructs to the class builder.
     * 
     * @param balActionElements Elements annotated with {@link BallerinaAction}
     */
Process all  BallerinaAction annotations and append constructs to the class builder.


Process all BallerinaAction annotations and append constructs to the class builder .
private void processNativeActions(Set<Element> balActionElements) {
        for (Element element : balActionElements) {
            BallerinaAction balAction = element.getAnnotation(BallerinaAction.class);
            String packageName = balAction.packageName();
            String className = Utils.getClassName(element);
            ActionHolder action = new ActionHolder(balAction, className);
            action.setAnnotations(getBallerinaAnnotations(element));
            getPackage(packageName).getConnector(balAction.connectorName()).addAction(action);
        }
    }
private void processNativeActions ( Set < Element > balActionElements ) { for ( Element element : balActionElements ) { BallerinaAction balAction = element . getAnnotation ( BallerinaAction . class ) ; String packageName = balAction . packageName ( ) ; String className = Utils . getClassName ( element ) ; ActionHolder action = new ActionHolder ( balAction , className ) ; action . setAnnotations ( getBallerinaAnnotations ( element ) ) ; getPackage ( packageName ) . getConnector ( balAction . connectorName ( ) ) . addAction ( action ) ; } }
Process all {@link BallerinaAction} annotations and append constructs to the class builder.
Process all { @link BallerinaAction } annotations and append constructs to the class builder .