Plugin Icon if
  • Code Tools

GenerateAllSetter

Обновлено:
5 месяцев назад
Версия:

2.8.4

Обзор
Версии

Обзор

GitHubIssuesbilibili

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

在方法上生成两个对象的转换


Features

  • generate all setters by pressing Alt+Enter on the variable's class
  • generate all setters with default values for most types including List, Set and Map
  • generate a converter between two classes that have matching fields
  • generate assertThat calls for all getter methods

Usage

Let some class User has setName and setPassword methods and you have a declaration:

User user = new User();
Set the caret to the word User and press Alt+Enter key. The plugin will produce the code:

user.setName("");
user.setPassword("");

Works with Java and Kotlin programming languages.

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

Версии

Версия
Диапазон совместимости
Дата обновления
2023
2.8.4
183+
30.10.2023
Скачать
Plugin ID:
com.bruce.intellijplugin.generatesetter
icon