Commit Graph

18037 Commits

Author SHA1 Message Date
Eugene Zhuravlev
b91d183ec2 additional disposed check 2014-12-03 21:37:09 +01:00
peter
df6c6da9e0 IndexTest: separate assertions 2014-12-03 20:40:30 +01:00
Anna Kozlova
b7902c44e7 lambda: do not reassign variable outside lambda body 2014-12-03 20:21:55 +01:00
Anna Kozlova
6fb1b58b3f detect jdk version by place (IDEA-133801) 2014-12-03 20:21:54 +01:00
Sergey Savenko
61f38c0d38 JavaChangeSignatureDialog: improve rendering performance 2014-12-03 21:25:51 +03:00
peter
92828e1232 light nullity inference from source: don't infer when there are errors 2014-12-03 18:21:57 +01:00
peter
aa2a0487bd light nullity inference from source: allow several invocations of the same delegate method 2014-12-03 18:21:56 +01:00
Dmitry Jemerov
4219f0803f reworded message 2014-12-03 18:10:43 +01:00
peter
c2ef559c17 nullity inference from source dfa: handle autoboxing in return values 2014-12-03 17:40:05 +01:00
peter
155208faea contract/nullity light inference from source: handle autoboxing in return values 2014-12-03 17:40:05 +01:00
peter
e5d728e7a4 don't return inferred annotations that will be neglected anyway (e.g. on overrideable methods) 2014-12-03 17:40:04 +01:00
peter
590c6bfc19 don't report negated compile-time constants as always true/false (IDEA-118388) 2014-12-03 17:40:04 +01:00
Anna Kozlova
e74aa2d864 extract method: do not suggest primitive type when 'return null;' should be inserted 2014-12-03 17:26:36 +01:00
Anna Kozlova
b32871b783 extract method: do not suggest object when multiple returns are used without output variable 2014-12-03 17:26:34 +01:00
Anna Kozlova
38b9694097 include test for acceptable return types in 'extract' suite 2014-12-03 17:26:33 +01:00
Anna Kozlova
c460d82d7c extract method: allow to extract from fragment with different exit points which all are @NotNull 2014-12-03 17:26:32 +01:00
Alexander Zolotov
4eb69de616 Remove redundant spaces 2014-12-03 18:14:33 +03:00
Bas Leijdekkers
f972926905 fix expected thrown types for lambda expressions 2014-12-03 15:30:48 +01:00
Anna Kozlova
460771192f extract method: make static and pass fields as parameters if possible (IDEA-112230) 2014-12-03 14:27:46 +01:00
Anna Kozlova
e540615904 extract method: convert field to local cleanup 2014-12-03 14:27:45 +01:00
Bas Leijdekkers
e6c362324c calls from lambdas or anonymous classes to surrounding method are non-recursive 2014-12-03 13:06:32 +01:00
Anna Kozlova
3ea5b44100 resolve package/class if field is not accessible in fqn method call (IDEA-133812) 2014-12-03 12:53:07 +01:00
Anna Kozlova
ec7ae5a429 extract method: avoid invalid type 2014-12-03 10:50:54 +01:00
Yaroslav Lepenkin
8ad4974f74 AbstractJavaBlock: extracted field in columns alignment login into separate class 2014-12-03 12:00:14 +02:00
Yaroslav Lepenkin
20fd2154b4 AbstractJavaBlock: extracted utility functions into separate class 2014-12-03 12:00:14 +02:00
Anna Kozlova
0e5601ffde extract method: generate annotations/primitive return type choice fixed 2014-12-02 20:36:12 +01:00
Anna Kozlova
629a158af5 extract method: do not suggest Object as return type if it would be used in prefix/postfix expr 2014-12-02 20:36:11 +01:00
Anna Kozlova
99e37e961b extract method dialog: hide generate annotations checkbox if unknown nullness 2014-12-02 19:34:42 +01:00
Anna Kozlova
2fa3bdf88f testdata fixed (too wide fonts on linux splitted components into multi rows!) 2014-12-02 19:34:41 +01:00
Anna Kozlova
c6110f2cfa extract method: allow to choose return type from hierarchy (IDEA-79995) 2014-12-02 19:34:40 +01:00
Anna Kozlova
72515b5403 extract method: find all vars inside to check for name conflicts 2014-12-02 19:34:39 +01:00
peter
619c2df766 java & python: use effective search scope instead of the user-defined one
add read action
2014-12-02 18:31:06 +01:00
nik
81c2bd615d tests fixed: allow access via VFS to required files 2014-12-02 19:12:44 +03:00
Anna Kozlova
d168336f86 testdata for (IDEA-108664) 2014-12-02 16:43:57 +01:00
Alexey Kudravtsev
60efaab4dc reset state 2014-12-02 18:14:17 +03:00
Andrey Starovoyt
f1fb09084b postfix template: reduce scope of 'try' IDEA-132878 2014-12-02 18:06:44 +03:00
peter
81dec7e4d7 java & python: use effective search scope instead of the user-defined one 2014-12-02 16:05:08 +01:00
peter
302967b3f0 deprecate SearchParameters.getScope 2014-12-02 16:05:07 +01:00
Konstantin Bulenkov
c9c958ae5a Merge remote-tracking branch 'origin/master' 2014-12-02 17:36:49 +03:00
Konstantin Bulenkov
c50e97a79a check MainWatchPanel is available in update 2014-12-02 17:32:14 +03:00
peter
434c7cd790 infer method @Nullable/@NotNull by source code 2014-12-02 15:21:30 +01:00
peter
d6bd82a9bd drop inferred contract cache on java structure change 2014-12-02 15:21:30 +01:00
peter
2e03f19b0e external anno gutter should be aligned right to not disrupt vertical sequence of overriden/implement gutters 2014-12-02 15:21:29 +01:00
Anna Kozlova
e17a949a6e method reference: check NPE unboxing (IDEA-133714) 2014-12-02 14:01:10 +01:00
Yaroslav Lepenkin
a18e9031bf IDEA-133721 Typo in code style sample 2014-12-02 15:29:18 +02:00
Vladimir Krivosheev
39def9d6f8 CR-IC-6889 testPreserveCompatibility 2014-12-02 13:15:47 +01:00
Anna Kozlova
bcf0f87453 raw diamond substitution: infer Object for jdk < 1.8 (IDEA-133733) 2014-12-02 12:49:55 +01:00
Anna Kozlova
5cfd7bb681 inline method: missed braces (IDEA-133700) 2014-12-02 12:49:54 +01:00
peter
1b6418487e let file's cached values expire on its rename 2014-12-02 12:20:46 +01:00
Alexey Kudravtsev
43dddcf68e restart daemon when trying to use empty ref count holder incrementally 2014-12-02 13:32:14 +03:00