Tagir Valeev
69632b09da
StreamToLoopInspection: get rid of placeholder; instead pass a predicate to suggestUniqueVariableName to be able to reuse existing names
2017-03-21 12:14:55 +07:00
Bas Leijdekkers
76b8730f83
PsiJavaDocumentedElement just extends PsiElement again
2017-03-20 15:21:38 +01:00
Alexey Kudravtsev
2f9ac87d26
some methods returning arrays marked notnull
2017-03-15 13:36:23 +03:00
peter
a701a2a089
MethodCandidateInfo: make lazily computed fields volatile
2017-03-14 14:44:18 +01:00
Anna.Kozlova
673f3954bf
EA-98873 - CCE: JavaGenericsUtil.isUncheckedWarning
2017-03-13 17:18:18 +01:00
Anna.Kozlova
bb7868f450
diamonds: don't infer raw type when inference of a staticFactory failed
...
avoid blinking tests on overload resolution: make outer method call not applicable by inferring incomplete results like it's done for method calls
2017-03-13 14:16:44 +01:00
Bas Leijdekkers
d803164a12
make @SuppressWarnings work in module-info.java files
2017-03-12 17:08:13 +01:00
Anna.Kozlova
c719482b06
pull up inference errors when current call has no type parameters (IDEA-169316)
2017-03-09 15:04:34 +01:00
Anna.Kozlova
92d60ede85
enclosing instance check: don't check the inheritance for the class with extends/implements itself
2017-03-08 19:15:20 +01:00
Anna.Kozlova
9c3ebf16aa
method reference: include super substitutor into method reference substitutor when referenced method has no type parameters (IDEA-169134)
2017-03-07 09:15:29 +01:00
Anna.Kozlova
af3deb08fe
overload resolution: ensure cleanup both branches of conditional (IDEA-169142)
2017-03-06 15:14:54 +01:00
Roman Shevchenko
90a40266e3
Cleanup (dead code; typos)
2017-03-06 11:53:43 +01:00
Roman Shevchenko
74daf8d522
[java] improves "unsupported language level" message (IDEA-168859)
2017-03-06 11:27:27 +01:00
Roman Shevchenko
7f30ba7eea
[java] correct compiler compliance option for Java 9; cleanup
2017-03-03 15:59:15 +01:00
peter
c942e9e143
which file returns invalid context? (EA-85729 - PIEAE: PsiInvalidElementAccessException.createByNode)
2017-03-01 15:31:24 +01:00
Tagir Valeev
1975e87956
IDEA-168586 Unify 'Replace with' inspection text messages
2017-02-28 16:21:20 +07:00
peter
5ee814548c
determine annotation target without AST
2017-02-24 15:53:06 +01:00
peter
913a9771e5
remove PsiNameValuePair.Detachable, make getDetachedValue a default method
...
because we can!
2017-02-24 15:53:06 +01:00
peter
1163a8e717
support type inference with nullity annotations across different language levels
2017-02-24 15:27:24 +01:00
alexey.afanasiev
62f847da51
IDEA-168578 Broken type inference in range expressions
2017-02-22 12:24:36 +03:00
Roman Shevchenko
a10b0f2d7e
[java] drops unneeded module visitors
2017-02-21 11:02:00 +01:00
Alexey Kudravtsev
c94a21fd7a
external annotations moved to the code
2017-02-20 15:07:19 +03:00
Roman Shevchenko
13d20c3859
[java] accepts annotations on modules
2017-02-20 11:52:06 +01:00
peter
394e977615
more diagnostics for EA-70902 - assert: TypeConversionUtil.reportHierarchyInconsistency
2017-02-18 19:17:07 +01:00
Anna.Kozlova
27ca3fe565
ensure enum constants resolved inside enum class
...
EA-83687 - assert: PsiEnumConstantImpl.resolveMethodGenerics
2017-02-17 19:37:21 +01:00
Roman Shevchenko
e085dbd4eb
Merge remote-tracking branch 'origin/master'
2017-02-16 20:42:16 +01:00
Roman Shevchenko
644c490d86
[java] highlighting for 'opens' statements
2017-02-16 18:16:45 +01:00
nik
c89fd9a154
code cleanup: explicit types replaced by diamonds in core modules
2017-02-16 18:15:35 +03:00
nik
8776c24da5
code cleanup: simplify sorting and comparators using Java 8 features in core modules
2017-02-16 18:15:35 +03:00
nik
9d7f1d57a9
anonymous classes converted to lambdas in core and java-psi modules
2017-02-16 17:30:47 +03:00
Roman Shevchenko
ab3b33e067
[java] support for new module-info syntax and .class file format
2017-02-15 20:39:15 +01:00
nik
a3e5314c77
language level set to 1.8 for core and java-psi modules
...
These modules are used in Kotlin compiler so previously they were kept compatible with Java 6. Since 171.* builds it will be required to use Java 8 for them.
2017-02-15 16:36:16 +03:00
Anna.Kozlova
e0afb738e7
revert additional applicability checks due to captures inside subst
2017-02-15 13:38:12 +01:00
Roman Shevchenko
1497fc8f74
[java] new module-info PSI
...
- 'requires' statements may own a modifier list
- 'transitive' modifier
2017-02-14 11:57:51 +01:00
Roman Shevchenko
2b0adae2d7
[java] new module-info PSI
...
- a module may own a modifier list
2017-02-13 20:19:23 +01:00
Roman Shevchenko
eaa12e8358
[java] new module-info keywords
2017-02-13 20:07:12 +01:00
Anna.Kozlova
770bd344ea
ensure assignability for standalone expressions during applicability check (IDEA-159086)
2017-02-13 18:30:53 +01:00
Roman Shevchenko
1823787e7d
Cleanup (formatting)
2017-02-13 17:27:23 +01:00
Roman Shevchenko
f129fb5daf
[java] reuses getName() and getNameIdentifier() methods for modules
2017-02-13 13:22:11 +01:00
Roman Shevchenko
ce4b7046b2
[java] new module-info PSI
...
- PsiExportStatement is generalized into PsiPackageAccessibilityStatement
- statement getters in PsiJavaModule
2017-02-10 14:17:22 +01:00
Roman Shevchenko
81d5458373
[java] new module-info keywords
2017-02-09 14:03:20 +01:00
Roman Shevchenko
b6cac71ea7
[java] new module-info keywords
2017-02-09 13:40:29 +01:00
Anna.Kozlova
2fc0560169
inference: ensure don't walk through explicitly specified type
2017-02-09 10:14:07 +01:00
Anna.Kozlova
ccda645376
raise unchecked warning when captured wildcard is assigned (IDEA-167393)
2017-02-07 13:26:04 +01:00
Alexey Kudravtsev
9c6ba5b7d8
moved "implements PersistentStateComponent" to java-impl to avoid java-psi-api to project-model dependency
2017-02-07 14:36:46 +03:00
Vladimir Krivosheev
8da1eedb0b
move PersistentStateComponent to project-model-api to be able to use default methods
2017-02-03 16:36:01 +01:00
Bas Leijdekkers
28e45f78c3
check for com.android.annotations.concurrency.GuardedBy in "Unguarded field access" inspection
2017-02-03 16:18:57 +01:00
Anna.Kozlova
e3352b820f
method signature: don't substitute twice during erasure (IDEA-167386)
2017-02-01 15:47:45 +01:00
Pavel Dolgov
14b3a1b38f
Java: When generating return statement where the returned type is an array use raw type in array creation (IDEA-163341)
2017-01-30 13:37:29 +03:00
Tagir Valeev
0a58d4471d
LambdaUtil#isIdentityLambda; annotations fixed
2017-01-24 15:34:51 +07:00