Commit Graph
1047 Commits
Author SHA1 Message Date
peter a1f00bd573 IDEA-136868 AE at com.intellij.codeInsight.daemon.impl.analysis.IncreaseLanguageLevelFix.invoke(IncreaseLanguageLevelFix.java:101) 2015-02-24 10:21:40 +01:00
Anna Kozlova 11e81ab9d5 new inference: provide lambda incompatibility message based on failed inference (IDEA-131882) 2015-02-19 18:07:59 +01:00
Anna Kozlova 4f0ab6f093 new inference: show bounds incompatibility error messages detected during inference (IDEA-131882) 2015-02-19 18:07:57 +01:00
Rustam Vishnyakov 78ce165a03 Correct JavaDoc attributes (IDEA-100249 Darcula: default attributes for Javadoc) 2015-02-19 19:22:04 +03:00
Alexey Kudravtsev 7bc362a988 diagnostics 2015-02-19 16:18:08 +03:00
peter 3b519b0c5f IDEA-23971 Warn on @NotNull nont-initialized fields in a class that has default constructor 2015-02-17 15:55:07 +01:00
peter fb5ddff5cf IDEA-136603 IDEA does not warn if annotated with @Nullable local variable is used for @NotNull parameter method 2015-02-17 15:55:07 +01:00
Anna Kozlova bcbc25e1de lambda -> method reference: ensure functional type was not changed after transformation (IDEA-136163) 2015-02-17 14:58:58 +01:00
Anna Kozlova 6482dfe733 do not return lambda parameter type as denotable in RefactoringUtil (IDEA-136617) 2015-02-17 14:58:56 +01:00
nik 7f43853129 resource java roots: added 'for generated resources' and 'relative output path' properties 2015-02-17 09:52:24 +03:00
peter 03ddd9dcea IDEA-136580 "Contract violation" warnings are reported for manual method contract 2015-02-16 12:13:26 +01:00
Anna Kozlova 925e9d1610 pertinent to applicability: reject nested lambdas if they target non proper type 2015-02-13 18:54:02 +01:00
Anna Kozlova 6d0e359bbc ensure language level is retrieved from analyzed method when method hierarchy is processed 2015-02-12 18:52:05 +01:00
Anna Kozlova 48158f50c6 accept remove initializer fix in batch mode when no side effects is expected (IDEA-136243) 2015-02-10 20:21:31 +01:00
Anna Kozlova 18e6a082d9 show error for enums without constants but with abstract methods 2015-02-10 17:55:58 +01:00
Anna Kozlova b0c96dedda multi-module setup: method hierarchy used to detect static/instance overriding 2015-02-10 14:44:27 +01:00
Anna Kozlova 2e438a4f7c multiple jdks/not exported dependencies: check that declared type of the qualifier doesn't contain unknown types 2015-02-09 20:33:09 +01:00
Roman Shevchenko 041a7c1c3d Cleanup (formatting; warnings) 2015-02-09 19:04:18 +01:00
Anna Kozlova d938257b33 multiple jdks in one project: highlight not accessible superclasses found in another module 2015-02-09 15:53:05 +01:00
Anna Kozlova 2254598756 multiple jdks in one project: resolve superclass from the correct jdk depending on the resolve context (IDEA-123678; IDEA-102349; IDEA-126629) ^peter 2015-02-09 15:53:04 +01:00
peter afb11843f4 IDEA-135004 New “non null fields must be initialised” not helpful when DI is used 2015-02-06 16:11:12 +01:00
peter a88ab17b3f IDEA-136079 "Contract violation" warnings are reported for inferred method contract for method with varargs 2015-02-06 16:11:11 +01:00
Alexey Kudravtsev 48405576b0 IDEA-135364 No error highlighting in editor fields 2015-02-03 15:15:53 +03:00
peter cd02f59555 IDEA-135846 Dfa should warn about qualifiers in method references 2015-02-02 12:42:56 +01:00
peter 9c3cd4bd49 dfa: don't flush array variable after element assignment (IDEA-135834) 2015-02-02 12:42:56 +01:00
Anna Kozlova 51c1a50606 anonymous -> functional expression: simplify check for function type (accept type params for method refs/reject for lambdas) 2015-02-01 12:54:19 +03:00
Anna Kozlova e315ef4b41 TypeName.super.foo() when TypeName denotes interface 2015-01-31 21:29:22 +03:00
Anna Kozlova 1dff071fc1 disable suppress for parameter for lambda without formal types 2015-01-31 21:29:22 +03:00
Anna Kozlova 82246db879 TypeName::Identifier method reference applicability when TypeName denotes interface 2015-01-31 16:13:13 +03:00
nik 8790a30a92 fire 'rootsChanged' event when project language level is changed 2015-01-30 20:43:11 +03:00
Anna Kozlova f0e8a4ebbf api usage: warn about @Override on 'non-existing' method 2015-01-27 21:34:08 +03:00
Anna Kozlova 6569ca585c refElements: accept long as mask 2015-01-22 19:14:29 +01:00
Dmitry Avdeev 49e2e5444d AnnotateCapitalizationIntention 2015-01-22 14:55:39 +03:00
Dmitry Avdeev fd3a79474c AnnotateCapitalizationIntention 2015-01-21 15:13:45 +03:00
Alexey Kudravtsev ede7cd1364 cleanup: bitutil 2015-01-20 13:20:16 +03:00
Anna Kozlova 296d5e3182 NPE (IDEA-135369) 2015-01-19 15:32:34 +01:00
Anna Kozlova 409e6a03c5 Merge remote-tracking branch 'origin/master' 2015-01-19 13:47:51 +01:00
Anna Kozlova c5c7eeae5d add "implement methods" fix for unrelated default methods error (IDEA-135295) 2015-01-19 13:02:24 +01:00
peter 22da51ba49 fix HardcodedContracts NPE 2015-01-19 11:22:56 +01:00
peter 1aa2435e99 limit the number of inferred contracts (IDEA-135259) 2015-01-15 15:05:11 +01:00
peter 3ab6152515 dfa: when checking contracts, avoid duplicate states, and fail-fast for too complex contracts (IDEA-135259) 2015-01-15 15:05:10 +01:00
peter 57b482d07c dfa: don't equalize values that are not supposed to be saved (IDEA-135259) 2015-01-15 15:05:10 +01:00
peter 8658b30dde dfa: support outer class fields access with qualified this 2015-01-14 21:01:23 +01:00
Anna Kozlova 7205db4b58 anonym -> lambda: evaluate ground type for type, inferred by position (IDEA-135211) 2015-01-14 16:45:51 +01:00
Anna Kozlova 574c7349a1 no need in paired inspection after unused symbol/declaration merged 2015-01-14 16:45:45 +01:00
peter b7b2c6db51 Merge remote-tracking branch 'origin/master' 2015-01-14 16:06:30 +01:00
peter e485a2fc91 dfa: annotation inference suppression is different from honoring package-level defaults, so split them 2015-01-14 15:54:34 +01:00
Dmitry Avdeev ba2dc0e0db IDEA-17307 Enum must not be local in JSP declaration block 2015-01-14 16:15:39 +03:00
Anna Kozlova a1b44a53ac redundant throws: find throws clauses inside functional expressions (IDEA-135181) 2015-01-14 13:25:05 +01:00
Anna Kozlova d91a08ef66 redundant lambda code block: ignore if language level is less than 1.8 (IDEA-135078) 2015-01-13 20:55:49 +01:00