Commit Graph
7552 Commits
Author SHA1 Message Date
Anna.Kozlova 1ce6f8d2fa introduce param object: pass substitution around which won't be available after method signature is changed (IDEA-154208) 2016-04-25 10:57:40 +02:00
Anna.Kozlova b7eddbbbc3 extract method: fold parameters after array acces was detected (IDEA-155094) 2016-04-22 19:31:27 +02:00
Anna.Kozlova b1645e3ae5 reuse utility method; ensure unknown functional type reduced to Object before create new psi
EA-75452 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText
2016-04-22 17:02:00 +02:00
Anna.Kozlova 1a2b94105e EA-78630 - CCE: TrivialFunctionalExpressionUsageInspection$ReplaceWithLambdaBodyFix.replaceWithLambdaBody 2016-04-22 17:02:00 +02:00
Yaroslav Lepenkin 0042952eaf Fixed test data 2016-04-22 14:19:42 +03:00
Anna.Kozlova 1e7b8881da push down api generify; extract abstract dialog 2016-04-22 11:16:21 +02:00
peter 7edaae6c76 PsiChangeHandler: don't track ranges forever for events outside pom transactions (e.g. reload on language level change) (EA-76926 - PIEAE: PsiUtilCore.ensureValid) 2016-04-21 21:38:09 +02:00
Roman Shevchenko b12652ebb6 Merge remote-tracking branch 'origin/master' 2016-04-21 21:22:55 +02:00
Roman Shevchenko 2a89fd42b6 [java, java-decompiler] type annotations in class files
Step 1: add top-level field/method/parameter annotations to stubs; include them in decompiled text.
2016-04-21 21:22:36 +02:00
Eugene Zhuravlev ba90cfbd86 IDEA-154389 Remove and restore superclass leads to wrong state of ClassToSubclasses mappings 2016-04-21 19:42:31 +02:00
Anna.Kozlova 5d6351b1ec diamonds: don't accept inferred types when error appeared during inference (IDEA-154619) 2016-04-21 18:39:23 +02:00
Roman Shevchenko bfae071f81 Cleanup (formatting) 2016-04-21 15:16:55 +02:00
Anna.Kozlova 399e59e8dd fix testdata 2016-04-21 14:33:04 +02:00
Anna.Kozlova e07b25baba testdata for IDEA-153701 2016-04-21 14:33:04 +02:00
Alexey Kudravtsev f967bdeefa attempts to profile high latency 2016-04-21 15:11:34 +03:00
Anna.Kozlova 808137dabe unwrap lambda (IDEA-151266) 2016-04-21 13:48:30 +02:00
Anna.Kozlova 38335c6387 unwrap try with resources: keep resource declarations (IDEA-155004) 2016-04-21 13:48:30 +02:00
Anna.Kozlova a12bdff8a1 explicit -> diamond: ignore invalid types (IDEA-155017) 2016-04-20 19:13:20 +02: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
Anna.Kozlova 5f72c7380c array access: don't open captured wildcards 2016-04-20 17:49:29 +02:00
Anna.Kozlova ee4f41b14c don't open captures on type computation (IDEA-154968) 2016-04-20 17:49:29 +02:00
Eugene Zhuravlev 97353e5f34 Integration of changes after switching to non-incremental mode may cause incorrect state of build storages (IDEA-154405 ) 2016-04-20 13:52:51 +02:00
Alexey Kudravtsev 263b9687d2 make "whole file" inspections restart even in case of other file inside codeblock modifications (to make possible to write inspections like 'unused symbols') 2016-04-20 13:28:04 +03:00
Dmitry Batkovich 98aead8458 Merge remote-tracking branch 'origin/master' 2016-04-20 10:24:42 +03:00
Anna.Kozlova 2dead05e6b treeWalkUp: stop at member level to avoid skipping anonymous classes 2016-04-19 20:02:32 +02:00
Anna.Kozlova 24538da80c navigate and find enum methods by enum constant (IDEA-154781) 2016-04-19 19:05:54 +02:00
Anna.Kozlova aeab53aa69 move: convert nested classes to the top level files even for multiple classes selected
EA-81558 - assert: PsiJavaDirectoryImpl.checkAdd
2016-04-19 19:05:54 +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 abf32b50d5 don't calculate type of method expression which is located on the left side of assignment - assignment is invalid anyway
(EA-77049 - assert: PsiMethodCallExpressionImpl$TypeEvaluator.fun)
2016-04-19 19:05:54 +02:00
peter ada55bf192 fix KeywordCompletionTest 2016-04-19 18:36:36 +02:00
Roman Shevchenko b5ca10692b Cleanup (dictionary; deprecated test method) 2016-04-19 18:28:48 +02:00
Dmitry Batkovich 0b8e9bc61d inspection tool window: print tail text corresponding to (IDEA-154515) 2016-04-19 15:59:49 +03:00
peter e3c07073c5 honor array component type nullability in index expression dfa (IDEA-154874) 2016-04-19 14:00:31 +02:00
peter e92ee51e76 IDEA-152354 Code completion items order should be aware of MyClass.class 2016-04-19 14:00:30 +02:00
peter a4aa1f2bd7 IDEA-152224 Unwrap if should check if there are conflicting variables 2016-04-19 14:00:30 +02:00
Alexey Kudravtsev a566493b9c made extend SliceTestCase for uniformity 2016-04-19 13:46:27 +03:00
Alexey Kudravtsev 8dbf994b4e cleanup 2016-04-19 13:46:27 +03:00
peter 2c3941fb1f prioritize javadoc existing param description completion (IDEA-153083) 2016-04-19 12:33:20 +02:00
peter 1475442c3f IDEA-154811 Nullable inspection is incorrect with user-defined valueOf static method in Enum 2016-04-19 12:33:19 +02:00
Anna.Kozlova 16f4b4c883 convert to instance/move instance: support default methods in interfaces for java 8 (IDEA-154833) 2016-04-18 12:54:50 +02:00
Anna.Kozlova 4c06b785c0 testdata for IDEA-154861 2016-04-18 12:54:50 +02:00
Anna.Kozlova 292055d296 shorten outer class ref in instanceof check fixed (IDEA-154823) 2016-04-15 20:38:30 +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 bb6394162a warn about compilable code which would lead to runtime ClassCastException in addition to unchecked warning which nobody understands (IDEA-154345) 2016-04-15 18:43:24 +02:00
Alexey Kudravtsev 67e5371da1 show ProcessHandler.addProcessListener() as sibling-overridden, optimisations 2016-04-15 12:38:23 +03:00
Alexey Kudravtsev bfcb00fff6 quick fix for MagicConstantInspection which suggests to replace 1 with Font.BOLD 2016-04-15 12:34:33 +03:00
Anna.Kozlova 320aeb7b5e inference: erasure functional type for raw substitutors (IDEA-154759) 2016-04-14 20:59:13 +02:00
Anna.Kozlova f7137a044d anonymous -> lambda: deep unique names (IDEA-154751) 2016-04-14 20:59:13 +02:00