Skip to content

TwiN/intellij-fluent-setter-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelliJ Fluent Setter Generator

Allows you to generate fluent setters with or without a prefix.

Ironically enough, the code is in Kotlin, but it doesn't support Kotlin (yet).

Dialog

You can even use the existing setters to set your parameters.

// ...
public ArticleTag withId(Long id) {
	this.id = id;
	return this;
}


public ArticleTag withArticle(Article article) {
	this.article = article;
	return this;
}


public ArticleTag withTag(Tag tag) {
	this.tag = tag;
	return this;
}
// ...
new ArticleTag()
    .withId(...)
    .withArticle(...)
    .withTag(...)

TODO

About

Allows you to generate fluent setters with or without a prefix.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages