Commit Graph

17 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 0d0222e1aa Expanded workaround for EA-64030 (IDEA doesn't allow keywords in cls annotations). 2015-02-03 17:31:25 +03:00
Evgeny Gerashchenko a492e248fe Added workaround for the problem that IDEA doesn't allow keywords in cls annotations. 2015-01-30 17:50:55 +03:00
Evgeny Gerashchenko 386854d73f Unused object.
unusedButEntryPointMain for class was actually a wrong test: it didn't check anything, because objects are were not checked for unusedness before.
2015-01-22 15:26:49 +03:00
Evgeny Gerashchenko 71bcce6410 Highlighting unused type parameter. 2015-01-22 15:20:32 +03:00
Evgeny Gerashchenko aff2547ff8 Searching for properties declared in class constructor signature. 2015-01-22 15:20:31 +03:00
Evgeny Gerashchenko b0e2afc8cb Searching for property accessors, too. 2015-01-22 15:20:30 +03:00
Evgeny Gerashchenko 8fd5e72632 Finding unused properties. 2015-01-22 15:20:29 +03:00
Evgeny Gerashchenko 9ba86501ec Not marking enum entries as unused. 2015-01-22 15:20:28 +03:00
Evgeny Gerashchenko 4cede47c70 Added tests with class/function used in Java 2015-01-22 15:20:26 +03:00
Evgeny Gerashchenko 4b20435ec9 Not searching for functions with conventional names.
Reasons:
1. They kind of implement interface.
2. They are too expensive to search.
2015-01-22 15:20:25 +03:00
Evgeny Gerashchenko b68b2e2e40 Added optimization: if name is too popular, don't check as unused. 2015-01-22 15:20:24 +03:00
Evgeny Gerashchenko f652d314d8 Finding unused functions. 2015-01-22 15:20:24 +03:00
Evgeny Gerashchenko b6dffb8f0b Added test with class used only in import. 2015-01-14 15:48:50 +03:00
Evgeny Gerashchenko 2d4e0be076 Added test with class referred in XML. 2015-01-14 15:48:49 +03:00
Evgeny Gerashchenko 9b22fc06c7 Class used in text is not unused. 2015-01-14 15:48:48 +03:00
Evgeny Gerashchenko 8297411e5f Not marking entry points as unused. 2015-01-14 15:48:46 +03:00
Evgeny Gerashchenko b781a09caf Implemented simplest version of unused symbol inspection. 2015-01-14 15:48:45 +03:00