Commit Graph
3218 Commits
Author SHA1 Message Date
anna ed8986937e method refs: compilation error when static method is accept through instance reference 2013-02-26 14:19:16 +01:00
anna af83c60af8 constructor refs: forbid outer as implicit receiver in non-static inner class 2013-02-26 14:19:15 +01:00
anna d20905d2d5 constructor refs: forbid default constructors for inner classes 2013-02-26 14:19:15 +01:00
Roman Shevchenko 95d7537701 Class short name calculation fixed 2013-02-26 13:59:27 +01:00
Denis.Zhdanov de7131e6a8 CR-IC-41 Vertical line block match disapear view line in java code (IDEA-99572)
1. Limit 'shiftForward()' by line end offset;
2. Minor refactoring;
3. Don't show indent guide for commented lines which would remove indent on un-commenting;
2013-02-26 13:55:48 +04:00
Roman Shevchenko e9f84b83d2 Strip annotations from package and import stubs 2013-02-25 21:57:25 +01:00
anna 33a583584b do not apply substitutor twice (IDEA-101752) 2013-02-25 18:44:14 +01:00
anna b562064e02 lambda: conditional inference updated 2013-02-25 18:44:13 +01:00
anna a684c033a1 lambda: replace raw inference from lambda with Object when it doesn't matter (IDEA-101788) 2013-02-25 14:12:42 +01:00
peter 913554f408 IDEA-101689 incorrect control-flow analisys 2013-02-22 19:33:38 +01:00
peter 1e12d6d4fc apply start-matching case-insensitively whatever the completion matching option is 2013-02-22 17:07:06 +01:00
peter 0360850aa9 bomb prolongation 2013-02-22 16:03:59 +01:00
anna 25220f5f46 method refs: accept generic methods in functional interfaces testdata 2013-02-21 20:21:50 +01:00
anna 18adb1cefc lambda: forbid type params in SAM methods (IDEA-101553) 2013-02-21 20:21:49 +01:00
anna 985efd2362 more specific method should be chosen before static access is checked (IDEA-101480) 2013-02-21 15:23:11 +01:00
anna e869310a92 ambiguous method call: choose one method if both are from the same hierarchy as the actual problem is there (IDEA-101529) 2013-02-21 15:23:10 +01:00
Konstantin Bulenkov e7cef50148 test data for middle matching issues 2013-02-21 12:58:34 +01:00
anna 5c8e94689b update anchor to skip whitespaces (IDEA-93459) 2013-02-21 11:38:11 +01:00
peter d5573edaa2 allow to select a class by enter (but not space/dot) even if several same-named suggestions are present in the autopopup 2013-02-20 23:42:54 +01:00
peter 6e35695d09 IDEA-84025 A class in different package interferes with code completion
not needed anymore since space/dot don't select the autopopup item by default
2013-02-20 23:42:54 +01:00
anna 6edc546e65 lambda: void compatibility guess 2013-02-20 21:30:51 +01:00
anna a82225975a lambda/method refs: check functional interface accessibility 2013-02-20 20:41:07 +01:00
anna 9634bb390e lambda: stop inference from lambda if return type retrieval leads to second lambda inference; do not cache types during this calculation 2013-02-20 20:41:06 +01:00
anna def5e21e6a lambda: restore void-compatibility checks 2013-02-20 20:41:05 +01:00
anna 35c349430a graph inference: infer from non-eq type bound 2013-02-20 18:09:44 +01:00
anna 65eba117da graph inference: do not infer diamonds based on graph inference 2013-02-20 16:33:51 +01:00
anna 6ef43fb5d9 check erased types for first param applicability if method substitutor is raw 2013-02-20 14:26:28 +01:00
Roman Shevchenko ec59d21b49 Test cleanup 2013-02-19 21:12:03 +01:00
anna 533ca9ace4 SAM: skip allowed static methods as they are not supposed to be overridden (IDEA-101403) 2013-02-19 12:54:36 +01:00
Alexey Kudravtsev 3cadd1910a cleanup 2013-02-19 14:35:48 +04:00
anna ec1fcb263f lambda: inference from formal params fixed (IDEA-101176) 2013-02-18 18:15:18 +01:00
anna dbd2a5db98 EA-44003 - SOE: PsiResolveHelperImpl.inferBySubtypingConstraint 2013-02-18 18:15:17 +01:00
peter 5d885e7221 in completion usage recency, less is better 2013-02-18 15:25:22 +01:00
anna 43e079d97d skip inference from parent for diamond's search for constructor (IDEA-101166) 2013-02-18 11:31:58 +01:00
anna 99a14543f2 new inference: subtyping constraint (IDEA-101166) 2013-02-15 21:40:30 +01:00
anna 1bc365756b fix method hierarchy with default methods: mark method to implement if it abstract and overrides default method (IDEA-101167) 2013-02-15 18:36:24 +01:00
peter b3e0176c26 make file structure popup matching use common matchingDegree heuristics 2013-02-15 18:32:53 +01:00
anna 52338427d5 inference from conditions (IDEA-101161) 2013-02-15 16:28:14 +01:00
anna e120d0af1f do not check within bounds for super wildcards 2013-02-15 16:28:13 +01:00
anna 3b4e3818e6 lambda: correct inference for vararg place > params.len (IDEA-101169) 2013-02-15 14:00:03 +01:00
anna 38ce821958 method ref: accept non parameterized receivers (IDEA-101168) 2013-02-15 14:00:02 +01:00
anna 3de6d80c2e create constant from usage: set static/final before insert field in order to get correct anchor (IDEA-100867) 2013-02-14 21:15:36 +01:00
Roman Shevchenko 8df7b744e5 Type annotation parsing tests 2013-02-14 20:15:43 +01:00
Roman Shevchenko c9e9b741f0 Parse annotations on array dimensions 2013-02-14 20:15:43 +01:00
Roman Shevchenko 6910c2e3ab Test fixed 2013-02-14 20:15:42 +01:00
anna 70179b71da graph inference: avoid copy; optimizations 2013-02-14 19:59:45 +01:00
peter 7d87af4662 java strings are not statement live template context 2013-02-13 17:43:11 +01:00
anna 7e6e59724e lambda: clear caches after usage; more testdata 2013-02-13 15:57:24 +01:00
anna ac0f65d247 graph inference for the first arg 2013-02-13 12:20:33 +01:00
Denis.Zhdanov 7bebe26be6 IDEA-99572 Vertical line block match disappear view line in java code
Explicitly add parenthesis to method call as particular groovyc version used at teamcity fails to compile it ('database tests' configuration)
2013-02-13 12:50:49 +04:00