walkmod-setter-getter-plugin

Walkmod plugin to add setters and getters into Java source files.

License

License

GroupId

GroupId

org.walkmod
ArtifactId

ArtifactId

walkmod-setter-getter-plugin
Last Version

Last Version

2.0
Release Date

Release Date

Type

Type

jar
Description

Description

walkmod-setter-getter-plugin
Walkmod plugin to add setters and getters into Java source files.
Project URL

Project URL

https://github.com/rpau/walkmod-setter-getter-plugin
Source Code Management

Source Code Management

https://github.com/rpau/walkmod-setter-getter-plugin

Download walkmod-setter-getter-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/org.walkmod/walkmod-setter-getter-plugin/ -->
<dependency>
    <groupId>org.walkmod</groupId>
    <artifactId>walkmod-setter-getter-plugin</artifactId>
    <version>2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.walkmod/walkmod-setter-getter-plugin/
implementation 'org.walkmod:walkmod-setter-getter-plugin:2.0'
// https://jarcasting.com/artifacts/org.walkmod/walkmod-setter-getter-plugin/
implementation ("org.walkmod:walkmod-setter-getter-plugin:2.0")
'org.walkmod:walkmod-setter-getter-plugin:jar:2.0'
<dependency org="org.walkmod" name="walkmod-setter-getter-plugin" rev="2.0">
  <artifact name="walkmod-setter-getter-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.walkmod', module='walkmod-setter-getter-plugin', version='2.0')
)
libraryDependencies += "org.walkmod" % "walkmod-setter-getter-plugin" % "2.0"
[org.walkmod/walkmod-setter-getter-plugin "2.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.walkmod : javalang jar [3.0.0, 4.0.0)
org.walkmod : walkmod-core jar [1.0.0,2.0.0)
commons-lang : commons-lang jar 2.6

test (1)

Group / Artifact Type Version
junit : junit jar 4.5

Project Modules

There are no modules declared in this project.

walkmod-setter-getter-plugin

Build Status

This project is a walkmod plugin to generate a setter and a setter for each field declaration.

Usage

Inside your transformation chain, you need to declare the following code transformation.

<transformation type="walkmod:commons:setter-getter-gen" isMergeable="true">

Contributing

If you want to hack on this, fork it, improve it and send me a pull request.

To get started using it, just clone it and call mvn install.

Versions

Version
2.0
1.0