Commit Graph

7 Commits

Author SHA1 Message Date
Anna Kozlova
5fa4775cf1 unresolved qualifiers in ref expressions chain (follow IDEA-CR-24382) 2017-09-11 13:35:36 +03:00
Tagir Valeev
ca9fffa746 IDEA-178242 Extract Set from comparison chain: find duplicates within class 2017-08-30 14:29:54 +07:00
Tagir Valeev
d3e36561f4 IDEA-174813 Intention to replace multiple enum comparisons with EnumSet.contains()
ExtractSetFromComparisonChainAction enhanced to support enums and support == comparisons
2017-08-29 17:40:32 +07:00
Tagir Valeev
c3dd106963 LightCodeInsightTestCase: now test name can force the language level. 2017-04-28 15:14:27 +07:00
Tagir Valeev
93e35b7334 ExtractSetFromComparisonChainAction improvements (IDEA-CR-19606)
1. Fixed modifiers for interfaces
2. Replacement wrapped with Collections.unmodifiableSet
3. Supported Java 1.4 and lower
4. Supported Guava ImmutableSet
5. Supported comparisons like s.equals("xyz"), Objects.equals(s, "xyz")
2017-03-27 12:35:02 +07:00
Tagir Valeev
d9702d7d8d ExtractSetFromComparisonChainAction: i18n, java9 test, disable in Java 1.4 or lower (as varargs and generics aren't available there) 2017-03-22 18:30:28 +07:00
Tagir Valeev
836c498178 IDEA-168201 Intention to extract a set from "foo".equals(xyz) || "bar".equals(xyz) 2017-03-22 16:35:33 +07:00