Commit Graph
3580 Commits
Author SHA1 Message Date
Anna Kozlova 892fe777b0 testdata for IDEA-130547 2014-09-30 19:18:49 +02:00
Anna Kozlova e6483ac10c testdata for IDEA-130549 2014-09-30 19:18:48 +02:00
Anna Kozlova 153e90ca1b prefer methods from interfaces over Object (IDEA-130026) 2014-09-30 19:18:46 +02:00
Anna Kozlova 9f72b14b9c lambda -> method reference: ambiguity prevented (IDEA-130126) 2014-09-30 19:18:44 +02:00
peter b0a7ab05aa contract checker: relax fail result validation to accept every call as a potential hazard 2014-09-30 17:23:49 +02:00
Anna Kozlova 3f940f370f reference to static method from interface: prefer static import context if provided (IDEA-130136) 2014-09-30 15:47:29 +02:00
Anna Kozlova 30b12e3e25 new inference: same parametrization check tweaked (IDEA-130519) 2014-09-30 15:47:28 +02:00
Anna Kozlova 75f1f14e8c anonymous type methods: remove too much intelligence (IDEA-130498) 2014-09-30 11:02:23 +02:00
Anna Kozlova 1df6fba2bb testdata for IDEA-130129 2014-09-29 16:09:18 +02:00
Anna Kozlova aedcba169d do not drill inside lambda body during return statement search (IDEA-130123) 2014-09-29 14:08:36 +02:00
Anna Kozlova d34eaa9ad2 shorten qualified names in change signature return type (IDEA-130277) 2014-09-29 14:08:35 +02:00
Anna Kozlova 7be506a901 do not crash on invalid lambdas/method refs (IDEA-130240) 2014-09-29 14:08:34 +02:00
Roman Shevchenko 1b1d58ce33 java: ensure PSI/document compatibility for decompiled .class files 2014-09-26 18:00:30 +02:00
peter 30beb70ce4 honor super method contracts 2014-09-25 16:34:51 +02:00
peter 853f21d9b1 dfa: flush variables immediately when they're not used anymore to reduce the number of different memory states 2014-09-25 16:34:50 +02:00
Ilya Klyuchnikov e0f6567a5d bytecode analysis: test data delta
IDEA-129645
2014-09-25 17:01:49 +04:00
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
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
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
peter b578571fb7 dfa too complex tests: ensure variables are alive all the time 2014-09-21 14:05:50 +02: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 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
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 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 403856b865 adapt JavaDocInfoGeneratorTest expectations to purity inference 2014-09-13 22:03:31 +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
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
Anna Kozlova 6b266edf0b testdata accepted 2014-09-12 09:34:43 +04:00
peter 91fb0a03ac a special tail type when smart-completing something in a parenthesized expression (IDEA-129485) 2014-09-11 18:33:33 +02:00
Anna Kozlova 7e68549078 extract light method object: calculate offsets related to valid parent so inserted during refactoring import would be taken into account 2014-09-11 16:05:20 +04:00
Maxim.Mossienko 48dbc5e378 IDEA-89136 Constants in annotationvalues in javadoc should be clickable
also show enum constant value in documentation
2014-09-11 12:02:42 +02:00