Tagir Valeev
ee1bd69c2e
IDEA-162574 False positive 'Lambda can be replaced with method reference'
2016-10-18 12:53:15 +07:00
Tagir Valeev
d807cd3b24
add missing StreamApiMigration test
2016-10-18 10:54:33 +07:00
Dmitry Batkovich
e9ef5ecdb8
Merge remote-tracking branch 'origin/master'
2016-10-17 20:47:11 +03:00
Anna.Kozlova
2a8fc8cbc6
extract method object: process parameters as output variables (IDEA-162642)
2016-10-17 19:00:10 +02:00
Dmitry Batkovich
67424cae15
Merge remote-tracking branch 'origin/master'
2016-10-17 19:14:28 +03:00
Dmitry Batkovich
1bc12672eb
Merge branch 'db/javac-ast'
...
# Conflicts:
# platform/util/resources/misc/registry.properties
2016-10-17 19:05:41 +03:00
Dmitry Batkovich
fd9cde8660
javac ast indices: search for lambda expressions; version #2 (with lambda hierarchy)
2016-10-17 18:27:26 +03:00
Dmitry Batkovich
9858aaf705
null argument checker: filter out unused parameters
2016-10-17 15:22:57 +03:00
Anna.Kozlova
0cb5558e85
inplace introduce variable: ensure validity of created var
...
EA-63354 - PIEAE: CompositePsiElement.getContainingFile
2016-10-17 13:10:49 +02:00
Vladimir Krivosheev
c4596d19b5
getDefaultProfile -> getBaseProfile
...
It is not default — it is base.
Do not add default default profile if there is at least on bundled/custom global profile — as before.
2016-10-17 12:40:24 +02:00
Tagir Valeev
86eaaf22bf
IDEA-160988 Add inspection to merge adjacent Stream API calls
2016-10-17 17:17:46 +07:00
Dmitry Batkovich
404db589ae
package movements
2016-10-17 07:31:08 +03:00
Vladimir Krivosheev
361fdda465
use correct serialization implementation in the copyProfile – otherwise when modifiable model of scheme is created, lazy loaded element data is not used (and as result, locked attribute is not correctly set)
...
testPreserveCompatibility is removed because we not DO NOT TOUCH files unless it is really modified In production we "do not preserve compatibility" (flag) since spring 2016
2016-10-16 18:59:52 +02:00
Roman Shevchenko
221dff5bd7
Merge remote-tracking branch 'origin/master'
2016-10-14 19:08:58 +02:00
Roman Shevchenko
156a98a67b
[java] automatic modules
2016-10-14 19:08:29 +02:00
Anna.Kozlova
842afe69f1
treat backspace/delete on interval border as outside template (IDEA-151493)
2016-10-14 18:21:22 +02:00
Anna.Kozlova
2bd3365dc6
fix testdata
2016-10-14 16:31:35 +02:00
Anna.Kozlova
d209b373a6
inline parameter: warn if method with target signature already exist (IDEA-162205)
2016-10-14 16:21:09 +02:00
Anna.Kozlova
614deb2e24
postfix completion: inplace introduce variable: ensure doc committed when handler is started inside writeAction
...
test: switch on inplace mode in tests
EA-86900 - RE: PostprocessReformattingAspect.beforeDocumentChanged
2016-10-14 09:57:28 +02:00
Anna.Kozlova
7934a19e29
inplace introduce variable: ensure valid occurrences ranges after put inside loop/lambda/etc
...
EA-62679 - assert: JavaVariableInplaceIntroducer.collectAdditionalElementsToRename
2016-10-14 09:57:28 +02:00
Roman Shevchenko
35be5f5b7b
[java] package accessibility check for library classes
2016-10-13 16:57:54 +02:00
Anna.Kozlova
88b28233e8
variable array fix: don't create fix if it can't be applied when there is no variable in the context
...
EA-54266 - ISE: VariableArrayTypeFix.getText
2016-10-12 18:22:05 +02:00
Dmitry Batkovich
cfbaa260fe
direct inheritor search with javac indices: do not forget of classes declared in method body (when internal is A$1Name)
2016-10-12 19:19:42 +03:00
Tagir Valeev
d9dbae7549
IDEA-162215 "Collection usage could be simplified in Java 8": Generate computeIfAbsent as well as putIfAbsent
2016-10-12 17:04:41 +03:00
Anna.Kozlova
5af6b0be16
defer assignment: choose anchor from same code block
...
EA-48621 - assert: CompositeElement.addChild
2016-10-12 14:04:38 +02:00
Tagir Valeev
73eef6c8ac
IDEA-161257 Follow-up: support scenarios like map.put(key, value = new ArrayList<>()); refactor
2016-10-12 14:25:24 +03:00
Dmitry Batkovich
bc7bbf4866
search java direct inheritors using javac indices (initial): do not process lots of non-direct inheritors for library classes (IDEA-CR-14364)
2016-10-12 02:01:14 +03:00
Anna.Kozlova
ee3492a8f4
rename: search for conflicts with super classes of container (IDEA-162372)
2016-10-11 19:09:56 +02:00
Anna.Kozlova
fc54fc4892
change signature: warn if delete parameter and corresponding argument can have side effects
2016-10-11 19:09:56 +02:00
Anna.Kozlova
40f1cdae5f
safe delete: check arg side effects (IDEA-162189)
2016-10-11 19:09:56 +02:00
Roman Shevchenko
335c4ab14a
[java] fixes type-annotated parameter index calculation (IDEA-162379)
2016-10-11 19:03:32 +02:00
Roman Shevchenko
fcfa063303
Merge remote-tracking branch 'origin/master'
2016-10-11 16:37:45 +02:00
Roman Shevchenko
893955e1fe
[java] using module stubs in analysis/highlighting code
2016-10-11 16:37:01 +02:00
Tagir Valeev
083c6b2322
LightQuickFixTestCase, OrderEntryTest: do not read action text after action is invoked (some inspections cannot report it normally after invocation)
2016-10-11 17:29:48 +03:00
Tagir Valeev
aff615f3df
refactor QuickFixTestCase: encapsulate action hint in separate object; unify error reporting
2016-10-11 16:04:49 +03:00
Tagir Valeev
a5a0a3657b
fix StringTokenizerDelimiterInspection (it did not escape double-quote, EA-89721)
2016-10-11 14:18:52 +03:00
Anna.Kozlova
9849261dae
inline constructor: avoid javadoc references
...
EA-89601 - UOE: InlineMethodProcessor$.inlineUsage
2016-10-11 12:19:48 +02:00
Anna.Kozlova
41c2429966
new inference: postpone unresolved variables in favor to variables with proper equals bound
2016-10-11 10:27:29 +02:00
Dmitry Batkovich
9f842c25a6
search java direct inheritors using javac indices (initial):
...
* use only one search adapter
* resolve anonymous child classes (e.g A$2$B)
* lazy iterate over candidates
2016-10-10 22:16:59 +03:00
peter
283613d591
IDEA-162322 Completion missing for field in copy constructor
2016-10-10 20:49:28 +02:00
Dmitry Batkovich
672ed0ac68
search java direct inheritors using javac indices (initial)
2016-10-10 20:27:20 +03:00
peter
566438d2e2
dfa: empty stack on contract fail (IDEA-CR-14293)
2016-10-10 15:59:06 +02:00
peter
64e83e59d9
check auto-import behavior in CopyPasteTest (IDEA-CR-14336)
2016-10-10 15:59:06 +02:00
Anna.Kozlova
6d148ad453
convert to local: skip refs in javadocs (IDEA-162003)
2016-10-10 14:19:25 +02:00
Anna.Kozlova
44c7364228
extends type parameter: allow wildcards (IDEA-162229)
2016-10-10 14:19:25 +02:00
Tagir Valeev
eaff2cebb6
fix invalid negative tests for quick-fixes
2016-10-10 18:24:14 +07:00
Dmitry Batkovich
1153b60414
null argument checker: accept ephemeral memory states to analysis IDEA-162184
2016-10-10 13:12:51 +03:00
Tagir Valeev
c844054768
IDEA-162190 Inspection to convert anonymous ThreadLocal subclass to ThreadLocal.withInitial
2016-10-10 15:21:24 +07:00
Roman Shevchenko
87b60c0149
[java] stubs for 'requires' and 'exports' statement (test data update)
2016-10-08 09:57:33 +02:00
Roman Shevchenko
fef8babaad
[java] stubs for 'requires' and 'exports' statement
2016-10-07 21:04:01 +02:00