Skip to content

v1.0.28

Choose a tag to compare

@github-actions github-actions released this 10 Jul 20:42
· 38 commits to main since this release
  • New Annotate field footprint intention (Alt+Enter). On a parameter whose type is a "fat
    object" (a class with many instance fields), it statically walks the method's call graph and
    records which fields are read and written into the Javadoc as
    @param name reads {a, b.c} writes {d} — to guide extracting thin DTOs. It is honest about
    blind spots: parameters reaching whole-object sinks (serialization, script engines, whole-object
    marshalling like toXML, bound method references like ::toXML) are annotated reads {ALL},
    and opaque boundaries reads {?}, rather than a misleadingly short list. Transitive analysis
    runs on demand behind a cancelable progress bar; getters, chained paths (a.getB().getC() →
    b.c), casts, setters, and method references are all handled.
  • New Fat parameter used as a thin DTO inspection (weak warning). Flags a fat-object parameter
    that only reads a few fields and never propagates out of the method — a thin-DTO candidate —
    using a cheap intra-procedural analysis (no cross-file resolution), so it is safe to run
    on-the-fly. Run the intention on the same parameter for the full transitive footprint.