Commit Graph
1222 Commits
Author SHA1 Message Date
Alexey Kudravtsev cfc0226642 more checkCanceled 2015-09-21 16:32:28 +03:00
peter 07512c090a dfa cleanup and cache project 2015-09-19 13:01:21 +02:00
Anna Kozlova c26cc82486 notify about refs to foreign types (IDEA-145186) 2015-09-16 18:53:29 +03:00
nik 87effd54ac IncreaseLanguageLevelFix moved to java-impl to allow using JavaProjectModelModificationService from it 2015-09-16 18:06:35 +03:00
nik b558aba836 increase language level fix: don't invoke fix if file doesn't belongs to any module 2015-09-16 18:06:35 +03:00
peter beaaef4fc4 cache InferenceFromSourceUtil.shouldInferFromSource 2015-09-14 15:05:34 +02:00
Alexander Zolotov 74d1b638f6 TestOnly inspection should validate classes 2015-09-14 14:47:48 +03:00
Anna Kozlova 741804bb7e field can be local: don't suggest if used in this/super calls (IDEA-142287) 2015-09-09 21:04:56 +03:00
Anna Kozlova 46847b71fd suggest to replace introduced parameter initializer with lambda when appropriate (IDEA-137827) 2015-09-08 11:29:52 +03:00
Vladimir Krivosheev dd1682195f check is module disposed 2015-09-05 15:14:35 +02:00
Alexander Zolotov d75f96720a Use logger instead of assertion 2015-09-04 10:40:30 +03:00
Anna Kozlova 0426946f75 varargs formal parameters inaccessible: extend for non-parameterized methods (IDEA-140600) 2015-09-03 20:30:57 +03:00
Alexey Kudravtsev 00a08306e9 IDEA-143820 2015-09-02 14:10:13 +03:00
peter bf4a3805e0 dfa: store CCE state in visitor, not runner: the latter is reused which can result in multiple warning 2015-09-01 21:48:59 +02:00
Vladimir Krivosheev 4682057a35 cleanup 2015-08-28 18:15:34 +02:00
Anna Kozlova 3d96977c2c unreachable code: qualified fields and array access in assignments (IDEA-144428) 2015-08-28 18:33:15 +03:00
Alexey Kudravtsev 6d831ef91e IDEA-142346 2015-08-28 14:37:30 +03:00
Dmitry Jemerov c8de83b90a make API public for Kotlin 2015-08-27 19:55:46 +02:00
Anna Kozlova 23a6b58d69 EA-71215 - assert: AnonymousCanBeLambdaInspection.replacePsiElementWithLambda 2015-08-27 18:56:48 +03:00
Alexey Kudravtsev ff085f0e70 indicator mem leak 2015-08-27 15:56:39 +03:00
Anna Kozlova ad99c2d9b5 anonymous -> lambda: cast if overload would fail (IDEA-144372) 2015-08-27 11:19:30 +03:00
Anna Kozlova 6144008d26 disable lambda -> meth ref if qualifier is not pure (IDEA-139825) 2015-08-26 16:23:35 +03:00
Anna Kozlova c97e700f4f EA-72085 - NPE: ChangeToAppendUtil.buildAppendExpression 2015-08-24 20:00:17 +03:00
Anna Kozlova 7cf142b351 make method return fix: make available for constructor calls; java 8 specific tests; simplify inference 2015-08-20 21:47:30 +02:00
peter f455bf6aed better stub gc-ability during inheritor search in FindSuperElementsHelper.getSiblingInheritedViaSubClass 2015-08-20 18:05:06 +02:00
Anna Kozlova 08c0a88251 functional type: find common super type of intersection type's conjuncts (IDEA-144145) 2015-08-20 16:01:58 +02:00
Anna Kozlova 8a071c3f74 fix method return type for vararg calls (EA-71978 - IAE: PsiOldInferenceHelper.inferTypeArguments) 2015-08-20 10:06:09 +02:00
Anna Kozlova 3b3bf18b69 suggest to fix return type based on args of method call in return stmt (IDEA-140894) 2015-08-19 12:34:41 +02:00
Alexey Kudravtsev 3828b8c3df optimization: dequadratisation (Prefer to resolve first, traverse up later to avoid performance drop in deep hierarchies) 2015-08-18 14:24:00 +03:00
Anna Kozlova c97ce52826 formal varargs not accessible check (jls) 2015-08-18 12:34:40 +02:00
Anna Kozlova 0da30526fd error for not accessible types mentioned by inferred functional type (IDEA-143417) 2015-08-18 12:34:31 +02:00
Anna Kozlova 210d5de79a unused declaration: ensure used static imports are not ignored (IDEA-143882) 2015-08-17 14:54:33 +02:00
Anna Kozlova 87e70fa5cb replace duplicates on extract method with signature change: use folded values if present (IDEA-143613) 2015-08-14 19:37:45 +02:00
Alexey Kudravtsev caeeae32b4 rewritten using DFSTBuilder, memory optimisation: drop memory state if we just stepped out of the loop 2015-08-12 12:54:47 +03:00
Anna Kozlova c7dfe22f31 extract method: enable duplicates inside inner classes called methods from outer (IDEA-143504) 2015-08-11 06:43:04 -07:00
Alexey Kudravtsev d759f0fd1e review 2015-08-10 13:12:49 +03:00
Alexey Kudravtsev 4885260530 memory optimisation: do not store memory state unless the instruction is inside the loop 2015-08-07 17:05:31 +03:00
Alexey Kudravtsev e06a5e20bb optimisation: dequadratisation (flush variable do not have to iterate all variables) 2015-08-07 17:05:30 +03:00
Alexey Kudravtsev 7f1e954b3b minor optimisation 2015-08-05 14:18:44 +03:00
Alexey Kudravtsev 8e939df27f duplicate property removed 2015-08-05 14:18:43 +03:00
peter 0c28099a15 IDEA-143014 Wrong 'can be null' warning when assignment is done inside if condition 2015-07-31 13:28:36 +02:00
Eugene Zhuravlev f4e9caeb35 enable reference search and highlighting in java scratches 2015-07-30 15:24:26 +02:00
Alexey Kudravtsev 99a0bede9f converted to walking visitor 2015-07-30 14:56:54 +03:00
Alexey Kudravtsev 370676d0bc unquadratization 2015-07-30 14:56:37 +03:00
peter 9f526b4783 IDEA-137170 Static nullability analysis incorrectly marks parameter as @Nullable in Android SDK 2015-07-29 20:27:11 +02:00
peter 9a97b80cfd contract cache should respect the calculation time parameter count (EA-68596 - AIOOBE: ContractChecker.checkContractClause) 2015-07-25 15:14:36 +02:00
Roman Shevchenko d66a9bda00 [jsp] fixes unhandled exceptions highlighting in inner classes and lambda expressions 2015-07-23 17:08:15 +02:00
Roman Shevchenko fe7ba298f6 Merge remote-tracking branch 'origin/master' 2015-07-22 18:26:08 +02:00
Roman Shevchenko cff7efd5d1 [java] since Java 9, underscore identifiers are completely prohibited (IDEA-132278) 2015-07-22 18:23:28 +02:00
Roman Shevchenko f7f0a5c0c4 [java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00