Commit Graph
1109 Commits
Author SHA1 Message Date
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
peter d32d32fbc1 speed up PackageScope.contains 2016-04-04 14:38:39 +02:00
Anna.Kozlova c1c40665ce erasure type of new expression if diamonds were used and during applicability check unchecked conversion was applied (IDEA-154009) 2016-04-01 16:53:23 +02:00
Anna.Kozlova f8e479a020 redundant cast: don't mark casts inside array index access expressions acceptable (IDEA-153661) 2016-04-01 11:38:39 +02:00
Alexey Kudravtsev 3c8e077114 BiUtil.isSet() usages extracted 2016-03-30 17:37:09 +03:00
Alexey Kudravtsev 14e866598a cache repeated requests for class inheritors and method overriders to speedup highlighting of heavily subclassed library classes to fix IDEA-152346 Syntax highlighting takes 45 seconds 2016-03-28 14:59:27 +03:00
Anna.Kozlova 7e622152f3 don't change wildcards on erasure; fix erasure for captured wildcards 2016-03-24 11:48:06 +01:00
Anna.Kozlova 3a700a9bc9 process override equivalent methods when check for functional interface target (IDEA-153324) 2016-03-21 14:14:26 +01:00
Anna.Kozlova 034012ae4e overload resolution: clear inference errors from nested calls when top level expression is abadoned as non-applicable (IDEA-150718; IDEA-153222) 2016-03-18 15:50:22 +01:00
Anna.Kozlova ec5245ed00 redundant cast: recapture wildcards for non-physical elements (IDEA-153166) 2016-03-17 18:04:01 +01:00
Anna.Kozlova 1545f58d8d make type denotable: ensure that array type is not created over wildcard 2016-03-17 18:04:01 +01:00
Roman Shevchenko e4a0f4548b [java] allows up to 5 unused variables per scope 2016-03-16 19:02:04 +01:00
Anna Kozlova c00d3d7371 revert (IDEA-152685) 2016-03-14 17:48:06 +01:00
Anna Kozlova d297f8414f redundant cast: remove redundant postpone refactorings on non-physical elements 2016-03-11 13:14:10 +01:00
Anna Kozlova 23df4bf2a1 redundant cast: open capture to compare old and new result types 2016-03-11 10:51:37 +01:00
Anna Kozlova 320904a20f redundant cast: compare base types for anonymous classes 2016-03-11 10:51:37 +01:00
Roman Shevchenko 4176064485 Cleanup (unused code) 2016-03-09 12:42:42 +01:00
Roman Shevchenko 42db164176 Cleanup (code reuse) 2016-03-09 11:20:48 +01:00
Anna Kozlova 09e54999ef method ref: ensure equivalence (IDEA-152384) 2016-03-04 17:00:37 +01:00
Anna Kozlova 1e764c9961 inference: skip lambda content and all its dependants when lambda type parameter type is calculated 2016-03-03 11:39:53 +01:00
Anna Kozlova 3434d9cc47 method reference: capture wildcards of new expressions (IDEA-152115) 2016-02-25 19:42:52 +01:00
Anna Kozlova 426547936c redundant cast: skip types check for enum constants 2016-02-25 10:36:40 +01:00
Anna Kozlova 6e9234b115 redundant casts: don't treat cast as redundant if functional expression get more specific type (IDEA-152093) 2016-02-24 21:05:13 +01:00