6 个仓库
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 是一套用于 JVM 字节码生成、类转换和动态代理的工具。它提供了一个高级 API,用于在运行时创建和转换 Java 字节码以修改类行为,并提供了一个用于拦截方法调用和字段访问的框架。 该项目实现了动态代理生成以支持面向切面编程 (AOP) 和自定义数据访问模式。它还包括一个序列化管理器,通过添加特定方法和控制代理类中的对象替换来实现序列化契约。 该库涵盖了字节码操作和运行时代码转换,以便在类加载前更改类结构。它还包括性能优化技术,通过方法过滤和轻量级回调来减少代理开销。
High-level API for generating and transforming bytecode.
adt4j - Algebraic Data Types for Java
Implements algebraic data types via annotation processing.