cglib/cglib
cglib - Byte Code Generation Library is high level API to generate and transform Java byte code. It is used by AOP, testing, data access frameworks to generate dynamic proxy objects and intercept field access. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4540
- days_rel: n/a
- days_push: 747
- n_releases_24m: 0
Adoption not part of the score
4893 stars · 872 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
cglib is a high-level Java bytecode generation and transformation library used to create dynamic proxies, extend classes, and intercept method/field access at runtime. It is widely used by AOP, testing, and data access frameworks, though it is now unmaintained and broken on JDK17+.
Use cases
- generate dynamic proxy objects in Java at runtime
- intercept method calls for AOP-style frameworks
- extend Java classes without source code
- mock or stub classes in testing frameworks
- generate persistent classes for ORM data access
- transform Java bytecode programmatically
When to choose
- you maintain a legacy Java codebase already using cglib on JDK 8-11
- you need runtime class extension or dynamic proxies on an older JVM
- you're studying how bytecode generation and proxying works
When to avoid
- you're starting a new project - use ByteBuddy instead
- you target JDK 17 or newer, where cglib may not work at all
- you need an actively maintained library with timely bug fixes
Facets
library · maturity maintenance
compiler developer-tools middleware developer-tools programming-languages testing jvm cross-platform bytecode-generation dynamic-proxies aop java asm code-generation unmaintained
2 sources
- readme: https://github.com/cglib/cglib · fetched 2026-08-28 · f204ca08e0da
- homepage: https://github.com/cglib/cglib/wiki · fetched 2026-08-29 · 9b310761d6dd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cglib/cglib | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem