Commit Graph

679 Commits

Author SHA1 Message Date
anna
bd4346cea8 lambda: use incomplete substitutor when calc functional interface (IDEA-97038) 2012-12-18 20:26:31 +01:00
anna
d9fb83d631 lambda: accept raw functional interfaces when there are no params 2012-12-18 13:07:31 +01:00
anna
963b2ed293 lambda: relax incompatible return type in case of void functional types 2012-12-17 17:32:29 +01:00
anna
44ab4d534a lambda: infer functional interface from enum constants (IDEA-97596) 2012-12-17 17:32:28 +01:00
anna
125ba5424d proceed to check method call args if unknown type args were specified in java 7 (IDEA-97521) 2012-12-17 13:29:15 +01:00
anna
5aa6fe3572 check overriding in correct order (IDEA-97506) 2012-12-14 18:36:43 +01:00
anna
d29e6b8b99 composition of extends/super wildcard reworked (IDEA-96721) 2012-12-14 18:36:42 +01:00
anna
c484ce61f0 composition of extends/super wildcard should get just its bound (IDEA-96721) 2012-12-14 15:31:23 +01:00
anna
7cff72c988 no enclosing instance (IDEA-97063) 2012-12-13 21:20:05 +01:00
anna
788336e0ff do not treat diamonds in jdk 8 special (IDEA-97294) 2012-12-13 18:42:28 +01:00
anna
b9669b6add isAssignable (IDEA-97276) 2012-12-12 15:59:15 +01:00
anna
fabb9c6f92 change method signature from usage: fix reverse order presentation text (IDEA-97218) 2012-12-11 17:44:21 +01:00
Roman Shevchenko
36cc6d348a IDEA-97100 (annotation highlighting in default values) 2012-12-11 13:37:29 +01:00
anna
9b9be3f623 highlight this inside interface inner classes (IDEA-97032) 2012-12-10 12:56:07 +01:00
Roman Shevchenko
91c10b815e line separators normalized 2012-12-08 20:01:21 +01:00
anna
592cc321af prefer extensions methods als interface (IDEA-96719) 2012-12-06 20:48:54 +01:00
anna
7bf7cb9e6f when detect inaccessible classes in static context take into account NewExpression qualifiers 2012-12-06 11:01:29 +01:00
Roman Shevchenko
79f65ee30c Java 8's old extension method syntax is error, not warning 2012-12-05 11:13:06 +01:00
anna
5112e8dce9 generate getters/setters: prefer less visibility corresponding to containing class (IDEA-95697) 2012-12-03 17:06:28 +01:00
Roman Shevchenko
c0d2012934 IDEA-96228 (restrict annotation owner at lower language levels) 2012-11-30 20:19:26 +01:00
Roman Shevchenko
1c95e8a529 Duplicate test dropped 2012-11-30 20:19:26 +01:00
anna
8d44b61a55 cast conversion java 7 (IDEA-96213) [Roma]
(cherry picked from commit d433089be2856a9c3ae05c10daeeb12736d13023)
2012-11-30 16:52:25 +01:00
anna
306c531544 SOE (IDEA-95955)
(cherry picked from commit d092c1363b3ae02dbfb4059f0c0cf28df575024c)
2012-11-29 11:53:09 +01:00
anna
e5a6ce555d EA-41372 - AIOOBE: JavaMethodsConflictResolver.isMoreSpecific
(cherry picked from commit 6f6a46ec1e26294e4a478fc6dee158123ccba406)
2012-11-29 11:53:02 +01:00
Roman Shevchenko
f2f3f4898c Fix test data 2012-11-23 23:35:51 +01:00
anna
0586625266 make method return: do not add return statement when control flow found a problem (IDEA-95738)
(cherry picked from commit b4e5b7d23c22f692da029a95d6718359fac577cc)
2012-11-23 21:14:46 +01:00
anna
9ec65aa657 disable change param type fix in case of overriding library method
(cherry picked from commit b00a060b18fc3de1f8e317b61a5fd87efdc8b565)
2012-11-23 21:13:48 +01:00
anna
6d2b2ced11 disable copy impls when interface extends; disable implement methods when methods with access problems exist (IDEA-93017)
(cherry picked from commit 3d50c0c08eaee71d14604ca9dfb0fcb2218c9b5c)
2012-11-23 21:13:43 +01:00
anna
10cecacf14 EA-41161 - CCE: JavaTreeGenerator.generateTreeFor: create from usage with method ref on the right
(cherry-picked from 04f7b76)
2012-11-23 21:13:39 +01:00
Roman Shevchenko
f5546bc0c0 IDEA-94934 (test case for already fixed issue) 2012-11-23 20:53:34 +01:00
Roman Shevchenko
fd09e4393d Cleanup 2012-11-21 15:47:24 +01:00
anna
73b6d506d2 EA-41114 - AIOOBE: StaticImportMethodFix.getExpectedType 2012-11-21 14:27:47 +01:00
Roman Shevchenko
d2740963e7 IDEA-95437 (separate rethrow types/data flow analysis) 2012-11-21 13:41:15 +01:00
anna
a5f940d5e4 method reference: proceed with class type when diamond static factory is used (IDEA-93099) 2012-11-21 12:20:29 +01:00
anna
f0175340e7 change variable type should be suggested on calls [roma] 2012-11-19 21:25:00 +01:00
anna
ed23e353b4 intersection type flattening: prefer non raw types (IDEA-95124) 2012-11-19 17:04:40 +01:00
anna
9cef655a6a accept row types when bounds were parameterized issue (IDEA-94987) 2012-11-19 17:04:39 +01:00
anna
67ac8cc039 instance inner class accessed from static context in declaration: error if containing class contains type params, good code otherwise 2012-11-16 21:05:06 +01:00
anna
53ef2bccfb EA-39209 - IOE: PsiJavaParserFacadeImpl.createParameterFromText 2012-11-16 21:05:05 +01:00
anna
1b745866b9 check for specific return type should take substitutors into account (IDEA-95129) 2012-11-16 14:22:44 +01:00
anna
ec89f9e0a9 java 6 is free from boxing problem in covariant position 2012-11-16 12:23:24 +01:00
anna
2c3fd187d5 check if super wildcard is within its bounds (IDEA-95065) 2012-11-15 21:37:07 +01:00
anna
3987b4bbb2 suggest method static imports: take method return type into account (IDEA-82353) 2012-11-15 21:37:06 +01:00
anna
77d6b68a6b IDEA-94990: java 6 bug workaround 2012-11-15 19:15:14 +01:00
Alexey Kudravtsev
843eaf46da IDEA-94838 "optimize imports of the fly" - change the inspection name 2012-11-15 17:30:13 +04:00
anna
03ac96800c this is inaccessible inside interface (IDEA-94986) 2012-11-15 12:52:26 +01:00
anna
daea664646 IDEA-94908: forbid to select raw type from parameterized parent 2012-11-14 19:22:02 +01:00
anna
7cee6ae2b4 temp decline raw assignments (IDEA-92022) 2012-11-13 20:18:07 +01:00
anna
e1ac2b1977 IDEA-91626 2012-11-13 20:18:06 +01:00
Bas Leijdekkers
5fd588fa5c "Variable is assigned to itself" inspection improvements 2012-11-13 16:19:41 +01:00