Commit Graph

425 Commits

Author SHA1 Message Date
Anna Kozlova
8a2413e4b3 EA-47133 - SOE: GenericsUtil.getLeastUpperClassesInner 2013-06-18 18:44:29 +04:00
Max Medvedev
a247fdba87 NPE 2013-06-15 11:31:11 +04:00
Max Medvedev
b8258a5eaa get rid of ReferenceAdjusterFactory 2013-06-11 14:37:10 +04:00
Max Medvedev
ea18e70a91 cleanup shortening references 2013-06-10 11:55:53 +04:00
Max Medvedev
dac30636f2 shorten Java and Groovy references with JavaCodeStyleManager.shortenClassReferences() 2013-06-10 11:55:52 +04:00
peter
52962d0a53 include reason when asserting invalid elements/types 2013-06-07 19:20:40 +02:00
Anna Kozlova
1263af9790 SPI: copyright 2013-06-07 14:29:16 +04:00
Roman Shevchenko
a0f88a0987 java: lexers united; lexer creation extracted 2013-06-07 12:00:15 +04:00
Anna Kozlova
6269653b12 lambda: check assignable takes into account wildcards (IDEA-108195) 2013-05-31 20:31:24 +04:00
Anna Kozlova
fb8144344c static interface methods: forbid on instance members, inheritors (IDEA-107794) 2013-05-30 15:46:53 +04:00
Anna Kozlova
9661f35dbd accept raw subtyping when instance method is called on raw type (IDEA-107957) 2013-05-28 18:50:17 +04:00
Alexey Kudravtsev
c2ec8ad25b moved to java-psi 2013-05-28 11:13:16 +04:00
Alexey Kudravtsev
ab080667e2 marker interface for jsp template statement 2013-05-27 11:13:28 +04:00
Alexey Kudravtsev
93705e4f6e moved to psi 2013-05-24 13:49:41 +04:00
Alexey Kudravtsev
2922ff175f moved to analysis 2013-05-23 12:23:05 +04:00
Gregory.Shrago
e7f122be19 [anna.k] IDEA-107137 In Database Console use of "Save As Live Template" Option on Sql and Pl Sql queries doesn't work correctly. 2013-05-21 23:08:00 +04:00
anna
022143bd50 NPE 2013-05-21 16:08:02 +02:00
Roman Shevchenko
d9286c9fc1 EA-46236 (parse mirrors with a correct language level) 2013-05-20 18:06:07 +02:00
Roman Shevchenko
564eba9037 Cleanup (formatting) 2013-05-20 18:06:07 +02:00
nik
2d4a584e3e removed dependency on projectModel-api from java-psi-api 2013-05-20 14:34:55 +04:00
Alexey Kudravtsev
3fc031a305 NPE 2013-05-17 12:12:59 +04:00
anna
1a650ae742 generics: prefer primitive arrays to type args (IDEA-107252) 2013-05-16 11:29:30 +02:00
anna
103bf1fed3 IDEA-105846 2013-05-16 11:29:27 +02:00
anna
7a56eb198f new array refs: accept signatures with assignable to int params (IDEA-106973) 2013-05-13 15:05:52 +02:00
anna
d3f31f402f type parameter cannot be inherited with different arguments as well as any other class (IDEA-57324) 2013-05-08 15:09:26 +02:00
Alexey Kudravtsev
57deb649fb moved to java-psi 2013-05-08 11:43:54 +04:00
Alexey Kudravtsev
d9d97e258c number of inspections moved to java-analysis 2013-05-08 11:43:49 +04:00
Alexey Kudravtsev
8df07569f2 Introduced BatchSuppressableTool which, unlike CustomSuppressableInspectionTool, provides SuppressQuickFixes, not SuppressIntentionActions.
SuppressQuickFix doesn't need Editor so it can work in batches.
These fixes are available via BatchSuppressManager.
Reworked some inspections to extend BatchSuppressableTool instead of CustomSuppressableInspectionTool since they don't need Editor anyway.
Similarly, instead of BaseJavaLocalInspectionTool there is BaseJavaBatchLocalInspectionTool.
2013-05-08 11:43:48 +04:00
anna
cf43a20b76 capture getClass type inside expressions list (IDEA-57877) 2013-05-06 21:21:51 +02:00
anna
3df31c5805 type distinct prover symmetry 2013-05-06 17:30:07 +02:00
anna
9980be6961 open capture reverted 2013-05-06 12:20:10 +02:00
anna
352757fd3b open capture at top level only when prepare variable type (IDEA-22005) 2013-05-03 20:40:19 +02:00
anna
e9e7ce005d forbid casting to nested wildcards (IDEA-71007) 2013-05-03 17:21:30 +02:00
anna
4e3928010b generics: choose least bound symmetric (IDEA-57500) 2013-04-30 18:12:19 +02:00
Alexey Kudravtsev
8c7aa7dde0 NotNull 2013-04-26 15:06:14 +04:00
anna
0dc7262c45 getExpectedTypeByParent utility 2013-04-24 19:16:26 +02:00
anna
3433d392a3 method applicability: do not check erased types if method was not called on raw type (IDEA-104992) 2013-04-24 14:14:49 +02:00
anna
516a76fa3b provably distinct: ? extends A should be provably distinct from Object until A is not an Object (IDEA-105695) 2013-04-23 15:35:49 +02:00
anna
566ef9c3ab check for upper bound in wrapped wildcard (IDEA-105846) 2013-04-22 15:50:31 +02:00
Alexey Kudravtsev
1298e515ab removed SpinAllocator usage 2013-04-09 12:57:39 +04:00
Roman Shevchenko
2ed5f43708 Diamond type's getPresentableText() behavior restored 2013-04-05 23:10:55 +02:00
Roman Shevchenko
218fd54bf2 Type annotation in wildcard and class reference types; more tests 2013-04-05 21:08:12 +02:00
anna
f9c121d810 generate setter prototype from field: take context into account to gic resulted method correct parameter type (IDEA-104592) 2013-04-04 20:37:58 +02:00
Roman Shevchenko
c730019888 Unneeded methods deprecated 2013-04-04 19:38:46 +02:00
Roman Shevchenko
fc602c65bc PsiTypeElement.getType() fixed 2013-04-04 19:38:46 +02:00
anna
c14be903d9 constant expressions check: discard polyadic expressions of non-primitive/Strings types (IDEA-104347) 2013-04-03 10:52:04 +02:00
anna
d8dd961de3 EA-45384 - NPE: TypesDistinctProver.proveExtendsBoundsDistinct 2013-04-02 20:08:51 +02:00
anna
59db69ca97 revert 2013-03-27 19:51:51 +01:00
anna
32e6933895 revert 2013-03-27 14:50:55 +01:00
anna
f43401e162 IDEA-103760 2013-03-27 09:20:02 +01:00