GenerateAllSetter

Compatible with: IntelliJ IDEA Android Studio
Mar 22, 2019
40 480

GitHubIssues

一键调用一个对象的所有的set方法

generate call to class all setter method by alt+enter on the variable class

generate a converter two object when they have same field

generate default value when returnType is List Set Map

generate call to assertThat on all getter method

like a user class has setName, setPassword methods

User user = new User();

then alt+enter on User

will generate following

user.setName("");

user.setPassword("");

support all your class set method including super class

support kotlin

view more on https://github.com/gejun123456/intellij-generateAllSetMethod

Recent change notes

2.4
  • [FIX]fix Generate from method getter setter converter not work
2.3
  • [FIX]fix null pointer
2.2
  • [NEW]add generate with all setter no default value
  • [NEW]add generate assert all getter
2.1
  • [NEW]add base support for kotlin
  • [IMPROVE]generate all setter name to Generate all setter
  • [IMPROVE]add space in new operator
1.9
  • [IMPROVE]maps import and add default value for some package
1.8
  • [IMPROVE]support byte type
1.7
  • [NEW]support two list convert
1.6
  • [FIX]fix exception when the cursor on constructor method
1.5
  • [NEW]generate default value for returnType is List Set Map
1.4
  • [NEW]could use on method, and if method parameter contain same value, then will pass to it
1.3
  • [FIX]fix doc
1.2
  • [NEW]fix doc
  • [FIX]fix suffix for long and double
1.1
  • [NEW]auto add import to class