6 dépôts
Tools for programmatic manipulation and generation of Java bytecode.
Explore 6 awesome GitHub repositories matching part of an awesome list · Code Generation and Bytecode. Refine with filters or upvote what's useful.
This project is a full-stack application generator and Java application scaffolder designed to produce the initial project structure and boilerplate code for modern web applications and microservice architectures. It functions as a development platform that uses predefined technology stacks to automate the creation of backend services and APIs. The system includes a customizable code blueprint tool, allowing users to extend or replace standard generation patterns to modify the default code structure of client and server components. It also provides a containerized development environment to e
Scaffolding tool for full-stack Java applications.
JavaPoet is a source code generator and metaprogramming utility for the Java language. It functions as an abstract syntax tree construction library that allows developers to model classes, methods, and fields as objects before emitting them as source code. The library distinguishes itself through automatic import management and code formatting. It tracks referenced types to generate required import statements and handles line wrapping, semicolon placement, and indentation to ensure generated files remain readable. The tool covers a broad range of generation capabilities, including the defini
API for generating Java source files.
This project is a Java annotation processing framework and source code generator designed to automate repetitive boilerplate and reduce manual coding errors. It functions as a toolkit for building custom annotation processors that produce source code, metadata, and type definitions during the compilation process. The framework specifically automates the creation of immutable value types with built-in equality and hashing logic, as well as the generation of factory implementations for dependency injection. It also handles the automated production of service provider configuration files to enab
Collection of source code generators for Java.
Byte Buddy is a runtime code generation and bytecode manipulation library for Java. It provides a fluent API for creating and modifying Java classes during execution, enabling developers to define class structures, methods, and fields programmatically without requiring a compiler or direct bytecode assembly. The library supports agent-based class transformation, allowing loaded classes to be modified during JVM startup or runtime through a Java agent that intercepts class loading. It offers bytecode-level method interception for fine-grained control over method behavior, annotation-based code
Runtime code generation for the Java virtual machine.
cglib est une suite d'outils pour la génération de bytecode JVM, la transformation de classes et le proxying dynamique. Elle fournit une API de haut niveau pour créer et transformer du bytecode Java à l'exécution afin de modifier le comportement des classes et un framework pour intercepter les appels de méthodes et l'accès aux champs. Le projet implémente la génération de proxy dynamique pour prendre en charge la programmation orientée aspect et les modèles d'accès aux données personnalisés. Il inclut également un gestionnaire de sérialisation pour implémenter des contrats de sérialisation en ajoutant des méthodes spécifiques et en contrôlant le remplacement d'objets au sein des classes proxy. La bibliothèque couvre la manipulation de bytecode et la transformation de code à l'exécution pour altérer les structures de classe avant leur chargement. Elle inclut en outre des techniques d'optimisation des performances pour réduire la surcharge des proxies via le filtrage de méthodes et des callbacks légers.
High-level API for generating and transforming bytecode.
adt4j - Algebraic Data Types for Java
Implements algebraic data types via annotation processing.