Skip to main content
Language-specific modules extend Intent Architect’s code generation capabilities for particular programming languages, providing specialized file builders, code weaving, and language-specific patterns.

Overview

These modules build on the common infrastructure to provide language-specific code generation:

C# / .NET

Roslyn-based code generation with StyleCop support

Java

Maven/Gradle integration with annotation support

TypeScript

NPM integration with decorator support

Kotlin

Gradle integration with data class generation

Dart

Flutter-ready code generation

SQL

Database script generation

C# / .NET Modules

Intent.Common.CSharp

Module ID: Intent.Common.CSharp
Version: 3.10.0+
Repository: View Source
Description: Common library support for C# code generation using Roslyn.
  • Roslyn-based Code Generation: Leverages Microsoft’s Roslyn compiler APIs
  • StyleCop Integration: Configurable code style rules
  • NuGet Management: Automatic package dependency resolution
  • File Builder: Fluent API for constructing C# files
  • Code Weaving: Merge generated and hand-written code
Configuration Settings:
SettingOptionsDescription
Constructor InitializerSame line, New line, Depends on lengthConstructor initializer placement (SA1128)
Parameter PlacementSame line, Depends on length, DefaultParameter placement rules (SA1116)
Blank line between MembersDefault, AlwaysEmpty lines between properties/fields
Factory Extensions:
  • Intent.Common.CSharp.CSharpFileBuilderFactoryExtension
  • Intent.Common.CSharp.CSharpStyleSettingsLoaderExtension
  • Intent.Common.CSharp.NugetRegistryLoaderExtension
Common Use Cases:
  • ASP.NET Core applications
  • Entity Framework implementations
  • Domain-driven design patterns
  • CQRS/MediatR implementations
  • Blazor applications

Java Modules

Intent.Common.Java

Module ID: Intent.Common.Java
Version: 4.1.0+
Repository: View Source
Description: Common library support for Java code generation.
  • Java File Builder: Structured Java code construction
  • Maven/Gradle Support: Dependency management
  • Annotation Processing: Java annotation generation
  • Package Management: Automatic import organization
  • Code Formatting: Consistent Java code style
Use Cases:
  • Spring Boot applications
  • JPA/Hibernate implementations
  • RESTful web services
  • Microservices architecture

Intent.Java.Weaving.Annotations

Module ID: Intent.Java.Weaving.Annotations
Repository: View Source
Description: Annotation-based code weaving for Java. Enables merging of generated and hand-written Java code using annotations to mark generated regions.

TypeScript Modules

Intent.Common.TypeScript

Module ID: Intent.Common.TypeScript
Version: 4.1.0+
Repository: View Source
Description: Common library support for TypeScript code generation.
  • TypeScript File Builder: Type-safe code construction
  • NPM Integration: Package.json management
  • Module System: Import/export management
  • Decorator Support: TypeScript decorator generation
  • Type Definitions: Automatic .d.ts generation
Factory Extensions:
  • Intent.Common.TypeScript.TypeScriptFileBuilderFactoryExtension
Use Cases:
  • Node.js backend services
  • Angular applications
  • React applications
  • NestJS frameworks
  • Express.js APIs

Intent.TypeScript.Weaving.Decorators

Module ID: Intent.TypeScript.Weaving.Decorators
Repository: View Source
Description: Decorator-based code weaving for TypeScript.

Kotlin Modules

Intent.Common.Kotlin

Module ID: Intent.Common.Kotlin
Repository: View Source
Description: Common library support for Kotlin code generation.
  • Kotlin File Builder: Idiomatic Kotlin code generation
  • Gradle Support: Kotlin DSL and Groovy DSL
  • Data Classes: Automatic data class generation
  • Extension Functions: Kotlin extension support
  • Coroutines: Async/await pattern generation
Use Cases:
  • Android applications
  • Kotlin multiplatform projects
  • Spring Boot with Kotlin
  • Ktor server applications

Module Builder Language Modules

These modules enable creating Intent Architect modules in specific languages:

Intent.ModuleBuilder.CSharp

Create modules using C# with Roslyn support

Intent.ModuleBuilder.Java

Create modules using Java

Intent.ModuleBuilder.TypeScript

Create modules using TypeScript

Intent.ModuleBuilder.Kotlin

Create modules using Kotlin

Intent.ModuleBuilder.Dart

Create modules using Dart

Intent.ModuleBuilder.Sql

Create SQL script generation modules

Intent.ModuleBuilder.Html

Create HTML template modules

Intent.ModuleBuilder.CSharp

Module ID: Intent.ModuleBuilder.CSharp
Version: 3.7.0+
Repository: View Source
Description: Module Builder support for C# files using Roslyn for intelligent code generation.
  • C# String Interpolation Template: Modern string interpolation syntax
  • C# T4 Template: Traditional T4 template support
  • Razor String Interpolation: Razor syntax for templates
  • NuGet Packages: Automatic NuGet dependency management
Dependencies:
  • Intent.Common
  • Intent.Common.CSharp
  • Intent.Common.Types
  • Intent.ModuleBuilder
  • Intent.OutputManager.RoslynWeaver
Includes:
  • NuGet framework support
  • Package versioning
  • Configuration management

Language Module Comparison

FeatureC#JavaTypeScriptKotlin
File Builder✓✓✓✓
Package ManagementNuGetMaven/GradleNPMGradle
Code WeavingRoslynAnnotationsDecorators-
Styling RulesStyleCop---
Module Builder✓✓✓✓
AI Support✓✓✓✓

Additional Language Modules

SQL Generation

Intent.ModuleBuilder.Sql
Enables generation of SQL scripts, stored procedures, and database migrations.

Dart/Flutter

Intent.ModuleBuilder.Dart
Supports Flutter and Dart application development.

HTML Templates

Intent.ModuleBuilder.Html
Generates HTML templates and markup.

Choosing the Right Module

Your StackRequired Modules
.NET / C#Intent.Common.CSharp
Java / Spring BootIntent.Common.Java
Node.js / TypeScriptIntent.Common.TypeScript
Android / KotlinIntent.Common.Kotlin
FlutterIntent.ModuleBuilder.Dart
Database ScriptsIntent.ModuleBuilder.Sql

Next Steps

Module Builder Guide

Learn how to create custom modules

Common Modules

Explore foundational modules