Commit Graph
5330 Commits
Author SHA1 Message Date
Rustam Vishnyakov cae66e0fb3 Detectable indent options provider implementation 2014-09-25 12:03:20 +04:00
peter a209cc9b20 JavaDocInfoGeneratorTest.testClickableFieldReference: update test expectations 2014-09-24 16:51:13 +02:00
peter 4c54779a59 PurityInferenceFromSourceTest: make constructor really side-effectful 2014-09-24 16:37:16 +02:00
peter 8c3a8e7c44 ContractInferenceFromSourceTest: remove red class reference from test data 2014-09-24 15:55:21 +02:00
peter 141f3f059c contract inference: support type casts 2014-09-24 14:19:53 +02:00
peter 56f6a73de7 purity inference: take into account constructor calls 2014-09-24 14:19:52 +02:00
Dmitry Batrak 97d0ea079d tests for new folding actions (IDEA-15412,IDEA-74010) 2014-09-24 13:55:43 +04:00
Rustam Vishnyakov ec603b4814 File indent options provider API: a flag to skip a provider on full reformat, logging 2014-09-24 11:45:44 +04:00
peter 66e2d53805 dfa: don't forget facts coming from boxed booleans after they're flushed 2014-09-23 18:42:57 +02:00
Yaroslav Lepenkin 1f7975ae7d do not fold parameter names by default 2014-09-23 19:57:54 +04:00
Roman Shevchenko 43a93b3e97 Merge remote-tracking branch 'origin/master' 2014-09-23 17:14:10 +02:00
Alexey Kudravtsev a03297df6b do not highlight method unused if referenced via overridden 2014-09-23 16:00:58 +04:00
Eugene Zhuravlev f7e78891bb make rules fix: method overriding is not applicable to constructors 2014-09-22 19:58:01 +02:00
peter 12553cb3de IDEA-130111 "Constant conditions & exceptions" inspection: false positive for possible NPE 2014-09-22 12:44:45 +02:00
Yaroslav Lepenkin e7705d6159 Be aware of "Keep line breaks" option in class object access expression (part of IDEA-129687) 2014-09-22 11:25:41 +04:00
peter b578571fb7 dfa too complex tests: ensure variables are alive all the time 2014-09-21 14:05:50 +02:00
Roman Shevchenko b5a2040342 Cleanup (formatting) 2014-09-20 23:29:59 +04:00
Anna Kozlova 951ea29979 brace matching for generics (IDEA-66504) 2014-09-19 17:33:31 +04:00
nik b375b090d2 'add framework support' tests fixed 2014-09-19 17:21:22 +04:00
Alexey Kudravtsev 2aa42c15d5 run startup activities in tests 2014-09-19 13:11:23 +04:00
nik 3b45d86d62 cleanup: unnecessary 'throws' removed 2014-09-19 12:11:26 +04:00
Rustam Vishnyakov 3fb1e5d778 File indent options provider API 2014-09-18 18:30:53 +04:00
Roman Shevchenko 0deba4ca4c Cleanup (backup files dropped) 2014-09-18 17:57:15 +04:00
Anna Kozlova 38087e7f3b do not erasure methods from non generics super types of raw types (IDEA-129646) 2014-09-18 15:02:23 +04:00
Anna Kozlova 3e13cddf2b lambda -> method reference: exclude receiver/non-receiver ambiguity (IDEA-129924) 2014-09-17 20:45:43 +04:00
Anna Kozlova f1b12f6025 method refs: correct condition on receiver type substitution (IDEA-129905) 2014-09-16 20:11:42 +04:00
peter 70b03fb0f0 correct bytecode analysis test data 2014-09-16 17:34:57 +02:00
peter eeb5346457 extract JavaFoldingTest."test don't inline array methods" 2014-09-16 15:26:24 +02:00
peter 7e061f5eef consider non-annotated method parameters also nullable in paranoid dfa mode (IDEA-129898) 2014-09-16 15:10:50 +02:00
Anna Kozlova 5e79028c99 new inference: checked exceptions inference, ensure throws bound are marked as such 2014-09-16 16:04:04 +04:00
peter 984af0337e allow dfa inspection to treat all non-annotated members as nullable (IDEA-129898) 2014-09-16 13:50:45 +02:00
peter e2ee62224c display hardcoded contracts on the gutter 2014-09-16 13:50:45 +02:00
peter 1255df72f2 don't infer purity for constructors 2014-09-16 13:50:44 +02:00
Alexey Kudravtsev 46fb955308 pump events from EncodingProjectManagerImpl.reloadAllFilesUnder 2014-09-16 15:27:24 +04:00
Anna Kozlova 800f508c44 new inference: prohibit substitution during checked exception constraint processing 2014-09-16 10:25:03 +04:00
Anna Kozlova dc988e848d new inference: do not resolve method calls in lambda return expressions to check isPolyExpression when arguments do not contain potential constrains 2014-09-16 10:25:03 +04:00
peter 8a71cfc404 don't blink with pure contract on gutter when starting to write a method 2014-09-15 14:49:58 +02:00
peter 2c20268f48 IDEA-129829 Good code is red: @TypeQualifierDefault and method overriding 2014-09-15 14:49:57 +02:00
peter 6a8383b12b IDEA-114891 Adding @NotNull annotation in overridden method incompatible with Eclipse 2014-09-15 14:49:56 +02:00
peter 2781f30195 allow to ignore external super parameter annotations in nullable stuff inspection (IDEA-114892) 2014-09-15 14:49:56 +02:00
peter bfa55d48e0 a utility method to add default jdkAnnotations in tests 2014-09-15 14:49:55 +02:00
peter 403856b865 adapt JavaDocInfoGeneratorTest expectations to purity inference 2014-09-13 22:03:31 +02:00
peter 08374746b5 a simple purity contract inference (IDEA-128879) 2014-09-13 20:53:51 +02:00
peter 4d0c8ab748 IDEA-127352 no warning when @NotNull annotated method returns null 2014-09-13 13:02:21 +02:00
Anna Kozlova 724425f20f allow access inner class object from super expression (IDEA-129795) 2014-09-12 21:36:56 +04:00
Anna Kozlova c07c3f5c5b lambda: ensure ground type is taken before lambda parameter type is calculated (IDEA-129791) 2014-09-12 21:36:55 +04:00
Anna Kozlova ea883dd1e7 stream migration: do not suggest to migrate if exceptions are thrown inside the block (IDEA-129484) 2014-09-12 21:36:55 +04:00
peter 31a3c1e234 ensure external/inferred annotations are correctly shown on the gutter for decompiled files; test this 2014-09-12 16:29:46 +02:00
Anna Kozlova a9c44fb386 block lambda -> exp lambda: more accurate check for conflict (IDEA-129780) 2014-09-12 16:24:22 +04:00
Anna Kozlova a25b50b5fe extract light method object: make all private file members public to ensure direct access from 'magic' inner class 2014-09-12 12:38:16 +04:00