Update to last source_gen version range.
Split Zengen into 2 packages (the dependency zengen
and the generator zengen_generator
)
See https://github.com/a14n/zengen/milestones/0.4.0
Update quiver version range.
See https://github.com/a14n/zengen/milestones/0.3.2
See https://github.com/a14n/zengen/milestones/0.3.1
Brand new implementation based on source_gen.
- Getting rid of
export
(#19).
@Cached()
: allows to cache results of methods (#14).
@DefaultConstructor()
and@Value()
now accept auseConst
to generate a const constructor (#17).
- @DefaultConstructor() doesn't create
const
for now.
- @Implementation() doesn't handle field on interface (#16).
@Implementation()
: implementation of all abstract methods.
@DefaultConstructor()
: generate a default constructor.@Value()
: simplify the creation of value class.
@Lazy()
: make field initialization lazy.
Now a resolved-AST is used. This has been enforced for the implementation of @Delegate
- Add the optional named parameter
includePrivate
to@ToString()
and@EqualsAndHashCode
. - Implementation of
operator==(o)
has been changed to useidentical
andruntimeType
.
@Delegate
: generate methods from a getter type.
- Add the optional named parameter
callSuper
to@ToString()
and@EqualsAndHashCode
. - Add the optional named parameter
exclude
to@ToString()
and@EqualsAndHashCode
.
Initial release available for public testing with @ToString()
and @EqualsAndHashCode
.
@ToString()
: generate the implementation ofString toString()
.@EqualsAndHashCode()
: generate the implementation ofbool operator ==(o)
andint get hashCode
.
- Stable: All even numbered minor versions are considered API stable: i.e.: v1.0.x, v1.2.x, and so on.
- Development: All odd numbered minor versions are considered API unstable: i.e.: v0.9.x, v1.1.x, and so on.