Ross ROSS = Recommend OSS · open-source software intelligence for agents

MapStruct

An annotation processor for generating type-safe bean mappers observed · 2026-08-28

github.com/mapstruct/mapstruct · homepage · Java · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

77/100

  • Activity 96
  • Release rhythm 40
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 27.0
  • age_days: 5210
  • days_rel: 662
  • days_push: 27
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

7682 stars · 1050 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

MapStruct is a Java annotation processor that generates type-safe, high-performance bean mapping code at compile time, supporting beans, records, and complex object hierarchies. Generated mappers use plain method invocations instead of reflection, producing self-contained code with no runtime dependencies.

Use cases

  • map jpa entities to dtos in java
  • generate bean mapper code without reflection
  • convert between java records and pojos
  • avoid manual getter/setter mapping code
  • compile-time type-safe object mapping for android
  • map between different object models in layered architecture

When to choose

  • you want fast mapping with no runtime overhead or reflection
  • you need compile-time errors for incomplete or incorrect mappings
  • you want debuggable, hand-editable generated code
  • you target Android or other environments where runtime dependencies are costly

When to avoid

  • you need dynamic runtime mapping of arbitrary objects
  • your mappings change frequently at runtime based on configuration
  • you're not on the JVM

Facets

library · maturity stable

serialization developer-tools build-tool developer-tools backend web-development jvm bean-mapping annotation-processor code-generation dto-mapping compile-time no-reflection java-records lombok-compatible android

5 sources

Member repositories

RepositoryRoleHealth v2
mapstruct/mapstructmain77
mapstruct/mapstruct-examplesexamples62

For agents

markdown · JSON · MCP: product_card(name="mapstruct/mapstruct")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem