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


Process all BallerinaTypeMapper annotations and append constructs to the class builder .
private void processNativeTypeMappers(Set<Element> balTypeMapperElements) {
        for (Element element : balTypeMapperElements) {
            BallerinaTypeMapper balTypeMapper = element.getAnnotation(BallerinaTypeMapper.class);
            BallerinaAnnotation[] annot = getBallerinaAnnotations(element);
            String packageName = balTypeMapper.packageName();
            String className = Utils.getClassName(element);
            TypeMapperHolder typeMapperHolder = new TypeMapperHolder(balTypeMapper, className, annot);
            getPackage(packageName).addTypeMapper(typeMapperHolder);
        }
    }
private void processNativeTypeMappers ( Set < Element > balTypeMapperElements ) { for ( Element element : balTypeMapperElements ) { BallerinaTypeMapper balTypeMapper = element . getAnnotation ( BallerinaTypeMapper . class ) ; BallerinaAnnotation [ ] annot = getBallerinaAnnotations ( element ) ; String packageName = balTypeMapper . packageName ( ) ; String className = Utils . getClassName ( element ) ; TypeMapperHolder typeMapperHolder = new TypeMapperHolder ( balTypeMapper , className , annot ) ; getPackage ( packageName ) . addTypeMapper ( typeMapperHolder ) ; } }
Process all {@link BallerinaTypeMapper} annotations and append constructs to the class builder.
Process all { @link BallerinaTypeMapper } annotations and append constructs to the class builder .