Commit Graph
2848 Commits
Author SHA1 Message Date
Pavel Dolgov dd2eca15bb Java: Fixed IOOBE in processing of sub-range of a control flow (IDEA-164442) 2016-12-05 13:19:24 +03:00
Pavel Dolgov 06cc032edf Java: Created an inspection (with a quick fix) that checks if a package is exported to the same module where it's declared. Tests added. (IDEA-164129) 2016-12-05 13:19:24 +03:00
Roman Shevchenko 30b68a6775 [java] excludes @author tag from completion in method Javadoc (IDEA-159020) 2016-12-05 09:54:36 +01:00
Roman Shevchenko 9aef1ccba3 [java] allows @author tag on method Javadoc (IDEA-159020) 2016-12-02 20:29:33 +01:00
Roman Shevchenko 56d5aed0e2 Cleanup (minor refactoring) 2016-12-02 20:23:06 +01:00
Anna.Kozlova a17be30b79 include package local methods into method hierarchy (IDEA-164557) 2016-12-01 10:39:31 +01:00
Pavel Dolgov 323b3eef00 Java: Fixed IOOBE in processing of sub-range of a control flow (IDEA-164442) 2016-11-30 14:59:19 +03:00
Pavel Dolgov 2f5e954770 Java: Fixed false positive "unreachable statement" in the control flow analysis (IDEA-164442) 2016-11-30 13:04:34 +03:00
peter cf4ac26b5d correct read-only file handling in more java intentions 2016-11-29 13:31:06 +01:00
Roman Shevchenko 512485600d [java] presentation for automatic modules 2016-11-28 18:40:40 +01:00
Pavel Dolgov 3750e46572 Java: Refactored DefUseUtil - moved method-local classes to nested classes to avoid holding reference on the enclosing instance. (IDEA-164371) 2016-11-28 18:46:39 +03:00
Pavel Dolgov e683935f14 Java: Refactored InstructionKeySet - get rid of duplicate collections. (IDEA-164371) 2016-11-28 18:46:39 +03:00
Pavel Dolgov f9ecfc7777 Java: Avoid endless loop while searching for unused variables in the case of nested 'try/finally' within loop statement. Test added. (IDEA-164371) 2016-11-28 18:46:39 +03:00
Roman Shevchenko 3dcbdd8982 [java] ambiguous module refs highlighting (IDEA-164553) 2016-11-28 13:38:26 +01:00
Roman Shevchenko e7fd8b0fef [java] tolerates ambiguous modules in readability analysis (IDEA-164553) 2016-11-25 20:42:50 +01:00
Pavel Dolgov 76ba60615d Java: Report error in the case of accidental endless loop while searching for unused variables. Also, allow cancelling this search. (IDEA-164371) 2016-11-25 17:08:12 +03:00
Anna.Kozlova 83bb640734 ensure inserted single-static-import when conflicting on-demand imports are presented (IDEA-155031) 2016-11-25 09:56:52 +01:00
Roman Shevchenko 0d69ef6d0f Cleanup (IDEA-CR-16140) 2016-11-23 16:21:45 +01:00
Anna.Kozlova 049a253fdf inference: don't erase types when target type is parameterized with unbounded wildcards only, in this case no unchecked warning would be generated and the types won't be affected by unchecked warning clause 2016-11-23 11:53:29 +01:00
peter f1092d42fb IDEA-164257 Declarations visible from a Java file shouldn't include current package's subpackages 2016-11-23 11:12:09 +01:00
Roman Shevchenko 006101f5f7 [java] correct resolve scope in module references (IDEA-164039) 2016-11-23 10:34:20 +01:00
Anna.Kozlova 39c40d4b51 NPE 2016-11-22 11:41:22 +01:00
Anna.Kozlova becb6c7387 inference: mark call unchecked required when proper types are compared (IDEA-164243) 2016-11-21 19:33:20 +01:00
Anna.Kozlova ec82847b4e resolve for method reference qualifier should prefer classes in case of constructor refs (IDEA-164165) 2016-11-18 17:58:54 +01:00
Dmitry Batkovich f5e1fb4de0 java functional expressions: fix for rendering in case of {ellipsis, primitive, array} type 2016-11-18 15:11:48 +03:00
Anna.Kozlova 6f2a84db43 restore javac 1.6 compatibility 2016-11-17 18:58:35 +01:00
Anna.Kozlova ccb61093af overload resolution: don't choose most specific method based on boxing property for vararg position (IDEA-163597) 2016-11-17 17:10:53 +01:00
peter ad948aaaea delete some deprecated stuff 2016-11-17 11:32:54 +01:00
peter 4a8364396f tolerate INRE in java element renderers (EA-91963 - INRE: FileBasedIndexImpl.handleDumbMode) 2016-11-16 18:41:46 +01:00
Anna.Kozlova 3e9370f451 substitute base class according to resolve place
EA-90836 - assert: InferenceSession.collectApplicabilityConstraints
2016-11-14 19:05:03 +01:00
Alexey Kudravtsev 94a666a0df annotations.xml syntax checker 2016-11-14 15:10:42 +03:00
peter 9629018237 smart pointers for different element types should have different hash codes 2016-11-14 09:36:12 +01:00
Anna.Kozlova 563187909f extended logging 2016-11-11 20:54:11 +01:00
Roman Shevchenko 26313ece97 [java] fixes lambda expressions parsing (IDEA-163871) 2016-11-11 18:22:32 +01:00
Alexey Kudravtsev 97e38ad11d cleanup 2016-11-11 14:00:11 +03:00
Anna.Kozlova 127d27e479 EA-91530 - CCE: JavaVariableConflictResolver.resolveConflict 2016-11-10 19:10:39 +01:00
Anna.Kozlova e4594aeb48 EA-91108 - PIEAE: PsiInvalidElementAccessException.createByNode 2016-11-10 10:52:14 +01:00
Tagir Valeev 898b985223 PsiDiamondTypeUtil#removeRedundantTypeArguments 2016-11-10 10:15:48 +07:00
Roman Shevchenko c99d4a78d3 [java] fixes @deprecated doc tag detection (IDEA-163315) 2016-11-04 19:08:01 +01:00
peter fe5ef6f03b EA-90879 - NPE: PsiClassImpl.calcBasesResolveContext 2016-11-04 16:01:30 +01:00
Anna.Kozlova b8e4985205 don't erase method invocation type iff unchecked conversion was required during additional constraints processing (IDEA-163503) 2016-11-03 16:38:40 +01:00
Anna.Kozlova d336733d3e ensure bounds are promoted on derived type otherwise bounds from super could appear on unbounded wildcards (IDEA-162882) 2016-11-02 15:51:14 +01:00
Roman Shevchenko ca94cc8c82 Cleanup (warnings; formatting) 2016-10-31 18:05:01 +01:00
peter 303a3a845f contract inference index 2016-10-28 15:34:10 +02:00
peter 32fbf57626 resolve to context method parameters from non-physical code blocks 2016-10-28 07:51:38 +02:00
Dmitry Batkovich 085dbbf603 show lambda text in hierarchy tree 2016-10-27 15:50:00 +03:00
peter b7c4e04a61 make NullityInference traverse light AST 2016-10-26 12:45:39 +02:00
peter ac9cac008a make PurityInference traverse light AST 2016-10-26 12:45:39 +02:00
Dmitry Batkovich a75cc0fec7 don't keep StringRef as field 2016-10-26 07:20:48 +03:00
Dmitry Batkovich 7b2d0c3d4a java functional expressions: remove ":" from toString() + fix test data according to 381bbbe 2016-10-25 23:33:11 +03:00