Commit Graph

1381 Commits

Author SHA1 Message Date
Roman Shevchenko
0c096a1015 [java] annotatable Java code reference elements 2016-06-02 17:48:02 +03:00
Roman Shevchenko
397fe99a92 Cleanup (javadoc; clear field name) 2016-06-02 17:39:50 +03:00
peter
7846787839 implement PsiType.annotate in all subclasses using clone 2016-06-01 22:09:28 +02:00
peter
e3fe4c4871 [java] hasModifierProperty: deduplicate and cache; change PsiAugmentProvider API while we still can 2016-05-30 22:07:52 +02:00
peter
f0edfe6027 try to check annotation target applicability without resolve (IDEA-155612) 2016-05-30 22:07:51 +02:00
Anna Kozlova
c09e6aa438 isLocalClass should work for nested local classes (IDEA-156777) 2016-05-30 20:01:09 +03:00
Anna Kozlova
7f8b5f8952 redundant cast: process branches of conditional expressions with respect to expected type for functional expressions (IDEA-156480) 2016-05-25 18:40:17 +03:00
Daniil Ovchinnikov
20600f85dc [groovy] @Contract and @Nullable 2016-05-25 16:01:17 +03:00
Anna.Kozlova
592eddca1d PsiType#annotate: unsupported operation error replaced with log.error 2016-05-24 14:41:51 +02:00
Anna.Kozlova
9728757592 inference: extension to transform type annotations on bounds 2016-05-24 14:20:40 +02:00
Egor.Ushakov
a12df12875 toString impls for builtin visibility checkers 2016-05-19 15:01:30 +03:00
Alexey Kudravtsev
416c1c5e47 cleanup 2016-05-18 15:26:10 +03:00
Anna.Kozlova
d2a88e8634 cleanup 2016-05-18 11:16:42 +02:00
Alexey Kudravtsev
6c14dd135d override 2016-05-12 17:28:50 +03:00
Anna.Kozlova
da211b4083 NPE (IDEA-155586) 2016-05-04 20:18:45 +02:00
Anna.Kozlova
7fb3086dc5 assignability to primitive: check type parameter bounds if applicable (IDEA-155551) 2016-05-04 11:09:25 +02:00
Anna.Kozlova
23113360f1 inline: insert cast to avoid changes in resolve (IDEA-152837; IDEA-155045) 2016-04-29 19:22:54 +02:00
Alexey Kudravtsev
3b521f997c dangling javadocs removed 2016-04-29 12:13:21 +03:00
Alexey Kudravtsev
59e2d9dd9e minor performance: removed redundant initializers in java analysis 2016-04-29 12:13:21 +03:00
Anna.Kozlova
f36501444c clear diamond inference errors when overload resolution fails 2016-04-28 11:39:38 +02:00
Alexey Kudravtsev
4a18a8be0d notNull 2016-04-27 13:31:03 +03:00
Anna.Kozlova
e588d2285a highlighting: don't add warning for nested lambda when problem is inside upper level (IDEA-155192) 2016-04-25 14:41:56 +02:00
peter
a313e5b5cf PsiAugmentProvider: ask for dumbness once 2016-04-23 19:03:02 +02:00
Roman Shevchenko
6ea3b7a197 [java] usages migrated to PsiType.annotate() 2016-04-22 20:48:59 +02:00
Roman Shevchenko
d77c31eaba [java] introduces PsiType.annotate(); minor optimization 2016-04-22 18:53:35 +02:00
Roman Shevchenko
07042165fa [java] introduces PsiType.annotate() 2016-04-22 17:12:06 +02:00
Roman Shevchenko
7960569325 Cleanup (formatting; warnings) 2016-04-22 17:11:57 +02:00
Roman Shevchenko
dd5999099c Cleanup (formatting; warnings) 2016-04-22 14:46:23 +02:00
Alexey Kudravtsev
751e7c4728 notnull 2016-04-21 19:45:14 +03:00
Anna.Kozlova
401ec5dbfa redundant cast: restoring call by top level, let's search by arg list offset in order to avoid finding method calls from qualifiers 2016-04-20 17:49:29 +02:00
Anna.Kozlova
22c8d0f9ce anonymous -> lambda: fix anonymous classes in enum constants 2016-04-20 17:49:29 +02:00
peter
428993f3d7 occupy less memory in jam patterns 2016-04-20 16:45:10 +02:00
Anna.Kozlova
2dead05e6b treeWalkUp: stop at member level to avoid skipping anonymous classes 2016-04-19 20:02:32 +02:00
Roman Shevchenko
6c39a86407 Cleanup (formatting; warnings) 2016-04-19 19:35:01 +02:00
Anna.Kozlova
c09caae28e treat conditional expressions with new expressions with diamonds inside as poly
EA-76546 - assert: InferenceSessionContainer.treeWalkUp
2016-04-19 19:05:54 +02:00
Anna.Kozlova
530b0b04e5 logging for EA-81663 - AIOOBE: RedundantCastUtil$MyIsRedundantVisitor.processCall 2016-04-19 19:05:54 +02:00
Anna.Kozlova
43fc40c4a5 anonym -> lambda, redundant cast, redundant type args: process top level overloads (IDEA-152766);
rearrange utils
2016-04-15 18:43:24 +02:00
Anna.Kozlova
09f46115cf redundant cast: special processing for functional expressions as enum args (IDEA-154354) 2016-04-15 18:43:24 +02:00
Anna.Kozlova
320aeb7b5e inference: erasure functional type for raw substitutors (IDEA-154759) 2016-04-14 20:59:13 +02:00
Anna.Kozlova
3b46b4c3bf method refs: ensure that qualifier type corresponds to ReferenceType for ReferenceType::Identifier 2016-04-13 21:11:02 +02:00
Roman Shevchenko
f1b7eec722 Cleanup (javadoc) 2016-04-12 12:08:28 +02:00
Anna.Kozlova
fc14dddfd8 check for abstract method implemented optimized: don't go through hierarchy if superClass is not abstract and there is no interfaces, would also fix asm implementations with 'broken' erasures inside 2016-04-11 21:51:18 +02:00
Alexey Kudravtsev
561f3b5630 javadoc 2016-04-11 18:30:42 +03:00
Anna.Kozlova
216d319f84 contracts 2016-04-08 18:44:25 +02:00
Anna.Kozlova
9150e6fd4a clear error message (IDEA-154419) 2016-04-08 18:44:25 +02:00
Roman Shevchenko
3c6b40759b [java] adds PsiModifierList.hasModifierProperty() augmentation point (IDEA-153706) 2016-04-08 10:36:41 +02:00
Roman Shevchenko
f1f16353e2 [java] PSI augment provider cleanup 2016-04-06 20:46:08 +02:00
Alexey Kudravtsev
e98ae76fa3 cancelable collection processor: more cancelability where CollectProcessor is used 2016-04-06 18:36:46 +03:00
Anna.Kozlova
c35fa1891b if client iterates through candidates of call resolve results and start inference for one of them, then cached top level session should be rejected if it corresponds to another candidate 2016-04-06 12:51:57 +02:00
Anna.Kozlova
7b7e10ab0c method candidate cleanup 2016-04-06 12:51:57 +02:00