Commit Graph
773 Commits
Author SHA1 Message Date
Anna Kozlova 5136167d8b new inference: use site substitution inside one level of inference only so calls with different site substitutions are possible in one expression (IDEA-131723; IDEA-131562) 2014-10-24 18:36:20 +02:00
Anna Kozlova 0109983010 provide context for new methods: createMethod(name, returnType, context) 2014-10-23 20:18:52 +02:00
Anna Kozlova bc8a70e89f fix erasure of captures special case, not valid anymore for new compilers (IDEA-131348)
(cherry picked from commit 0f357add956c0340ce08c79a14c052007e53be86)
2014-10-17 21:03:34 +02:00
Anna Kozlova b2ea4c6e79 inference: simplify bounds check; ensure fresh variables are treated as same, important e.g. in case of diamond operator when inferred types are new each time they are computed (IDEA-131066)
(cherry picked from commit 517c299e336e38bc20d3478191279be2176fbd9b)
2014-10-13 19:33:33 +02:00
Anna Kozlova b2a07e2eee lambda: stop at method if it's located inside lambda (IDEA-131087)
(cherry picked from commit 890ffa719208e467b1ba238d248dbbf102c71b76)
2014-10-13 19:33:05 +02:00
nik 4cde4df042 GWT ui.xml: support attributes for setters with more than one parameter and arbitrary types (IDEA-130149) 2014-10-10 13:41:06 +04:00
peter 5646998a10 @NotNull 2014-10-02 18:25:02 +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 a06b8b8f74 util cleanup 2014-09-29 14:08:37 +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
Alexey Kudravtsev ed9d68585a notnull 2014-09-24 17:51:19 +04:00
peter 1e92fa4368 drop annotation cache on every psi change (injected file changes don't increase java structure mod count) 2014-09-19 12:55:57 +02:00
peter 0bf5e37724 cache frequent AnnotationUtil query results 2014-09-18 21:42:32 +02:00
Anna Kozlova 304dbaf1dd do not copy container's annotations during generations (IDEA-129828) 2014-09-17 12:57:28 +04:00
Anna Kozlova f1b12f6025 method refs: correct condition on receiver type substitution (IDEA-129905) 2014-09-16 20:11:42 +04:00
Roman Shevchenko 49c74eac48 IDEA-124548 (custom decompiler errors severity reduced; fallback provided) 2014-09-16 15:57:07 +04:00
Roman Shevchenko 8f972f8b88 IDEA-127328 (bytecode version shown for decompiled classes) 2014-09-15 16:51:35 +04:00
peter 9a09378a2c AnnotationUtil.isExternalAnnotation 2014-09-15 14:49:56 +02:00
Anna Kozlova b56cdf97d5 revert disjunction elimination in common api 2014-09-05 12:17:52 +04:00
Anna Kozlova f35847c962 support for disjunction types in create from usage intentions (IDEA-129453) 2014-09-04 15:07:12 +04:00
Anna Kozlova 041f4d6e34 EA-60119 - IAE: PsiCapturedWildcardType.create 2014-09-04 13:45:04 +04:00
Anna Kozlova 4c8623b4d4 completion inside lambda: accept 'reference' non-physical statements 2014-09-03 19:24:44 +04:00
Anna Kozlova 32448804ae redundant lambda code block: do not suggest change void/value compatibility 2014-09-03 16:54:34 +04:00
Anna Kozlova 9097465506 new overload resolution: void value compatibility to reject improperly shaped implicitly typed lambdas 2014-09-03 16:54:34 +04:00
Alexey Kudravtsev 2bc3f7a024 cleanup: Condition.TRUE 2014-09-02 15:27:55 +04:00
Ivan Chirkov bed6d49984 Created new LocalQuickFix for static methods creation from name and parameters types; created class for "simple" method signature - method name and parameters types; used both for "spel-function#method" quick fix
#IDEA-129136 fixed
2014-09-01 17:04:59 +02:00
Anna Kozlova 2b2f09a376 accept boxing conversion to intersection type (IDEA-129143) 2014-08-29 14:36:55 +04:00
nik def7e3707f get rid of usages of deprecated JavaPsiFacade#getNameHelper 2014-08-29 09:56:38 +04:00
Anna Kozlova 624fa25d38 capture conversion: add upper bound for ? super if corresponding type parameter has upper bounds( IDEA-128328; IDEA-128972) 2014-08-27 20:59:32 +04:00
Anna Kozlova 66b21d3562 check type argument is in type parameter's bounds: ensure that resulted intersection type is valid 2014-08-27 20:59:31 +04:00
Alexey Kudravtsev d62173cda3 replaced moronic @Nullable with Contract 2014-08-27 17:55:36 +04:00
peter 53e2c49b27 IDEA-128948 Smart type completion should propose generic parameter type 2014-08-26 14:32:23 +02:00
Anna Kozlova 236b16794b EA-59495 - assert: PsiMethodReferenceUtil.hasReceiver 2014-08-19 15:42:15 +04:00
Anna Kozlova 356c3e7c9e new inference: open/close capture when method reference is resolved (IDEA-128712) 2014-08-18 20:56:11 +04:00
Dmitry Avdeev 2e39f94426 getTypeByName() 2014-08-13 16:43:18 +04:00
Anna Kozlova b9ae8339d6 method refs: do not accept static varargs methods by receiver (IDEA-128534) 2014-08-13 14:17:59 +04:00
Alexey Kudravtsev acfbf8c7ab notnull 2014-08-13 13:18:41 +04:00
Anna Kozlova 328808bebb redundant cast: process instanceof (IDEA-128493) 2014-08-12 19:35:38 +04:00
Alexey Kudravtsev 53eb9f6b56 notnull 2014-08-07 10:37:03 +04:00
Anna Kozlova 1b103f6ff0 cleanup 2014-08-06 17:55:47 +02:00
Anna Kozlova 5f361c8614 new inference: restore cache after use 2014-08-06 17:55:44 +02:00
Anna Kozlova 438e9160a0 overload resolution: force substitutor calculation (IDEA-128174) 2014-08-05 11:59:02 +02:00
peter 5a27767210 simpler code in IDEA-127637 code completion utility should strip 'extends' wildcards from generic qualifiers of generated anonymous classes 2014-07-30 09:12:15 +02:00
peter e4df02442d IDEA-127637 code completion utility should strip 'extends' wildcards from generic qualifiers of generated anonymous classes 2014-07-29 08:41:03 +02:00
peter 6f8c9cd291 IDEA-125281 Support @TypeQualifierDefault for nullable/notnull warnings 2014-07-28 10:15:17 +02:00
Anna Kozlova a62e1ed96b exclude container annotations from generated fields (IDEA-127721) 2014-07-23 19:19:14 +02:00
Anna Kozlova 24be503eb2 new inference: missed condition in conditional expression (IDEA-127752) 2014-07-23 19:19:12 +02:00
Alexey Kudravtsev 1b9ba31da8 cast from Short to char is prohibited 2014-07-23 13:35:58 +04:00
Alexey Kudravtsev 6e3721c181 optimisation: getMaybeSuperClassSubstitutor() to avoid traversing class hierarchy twice 2014-07-23 13:35:57 +04:00
Alexey Kudravtsev 979ff325b5 NotNull, cleanup 2014-07-23 13:35:55 +04:00