A

Adds a generateCompareTo action to all classes with no external dependencies

JetBrains

jhartman · v—

Generates a compareTo() method for the class

Code Tools
Downloads
7K
6 553
Rating
4.1 ★
3 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 3 ratings
5★ 33.3%
4★ 66.7%

Reviews 3

★★★★★ Rick 2015-03-12

Should be available by default in IDEA

★★★★★ Василий Кудрявцев 2019-05-17

Work well, but does not have an option for nullability checks

★★★★★ Daniel Schmid 2019-01-31

I like this plugin but there is one problem: The automatically generated compareTo method will not check if the other value is null. This can lead to NullPointerExceptions.

Similar in “Code Tools”