Commit Graph
1166 Commits
Author SHA1 Message Date
Bas Leijdekkers cde26d662e fix annotation, add @Contract 2016-07-17 23:55:50 +02:00
Roman Shevchenko 72f88a4c02 [java] navigation, presentation, and "go to symbol" provider for modules 2016-07-14 11:27:43 +02:00
Anna.Kozlova 2be8a720a8 static import when inheritance present (IDEA-158357) 2016-07-12 11:08:35 +02:00
Anna.Kozlova 750afb8497 return type fix: change type arguments of dependant type parameters only (IDEA-158361) 2016-07-11 18:05:00 +02:00
Anna Kozlova d4840b76ad show lambdas in File Structure (IDEA-151616; IDEA-157809; IDEA-151429) 2016-07-08 14:25:05 +02:00
Roman Shevchenko 0de8a3fbf0 Cleanup (constant moved) 2016-07-06 23:07:05 +02:00
Roman Shevchenko ce5b52faee [java] correction: Java module element always has a name 2016-07-06 20:48:09 +02:00
Anna Kozlova a714c0d820 unchecked cast warning: missed captured wildcards (IDEA-158080); reifiable captured wildcard type 2016-07-01 12:44:39 +03:00
Roman Shevchenko 860759d8be Cleanup (constant extracted) 2016-06-30 16:42:53 +03:00
Roman Shevchenko d41f234c43 Merge remote-tracking branch 'origin/master' 2016-06-30 15:18:24 +03:00
Roman Shevchenko 9559f7f371 [java] avoids setting a package name for module-info files 2016-06-30 15:16:07 +03:00
Alexey Kudravtsev cf53206875 cleanup 2016-06-30 14:37:19 +03:00
Roman Shevchenko bfd9423360 Cleanup (dead code) 2016-06-29 21:44:37 +03:00
Roman Shevchenko 657400a58d Cleanup (Java 9 language level description) 2016-06-29 21:02:20 +03:00
Roman Shevchenko ebb84bbd3d [java] non-mandatory import list 2016-06-29 21:02:18 +03:00
Roman Shevchenko f22dd502a3 [java] module declaration parsing 2016-06-29 21:02:14 +03:00
Anna Kozlova 639181bedc rename after IDEA-CR-11745 2016-06-24 18:07:14 +03:00
Anna Kozlova 3ee8b6d1e8 unrelated defaults: correct type if super classes come from different jdks (both 1.8 but of different versions) 2016-06-24 15:33:37 +03:00
Anna Kozlova 7968b2bbbb apply capture conversion for captured wildcard bound according to the direct supertype of parameterized type specification (IDEA-157586) 2016-06-22 15:24:15 +03:00
Anna Kozlova 61adc187bb minor optimization: don't start inference during call type calculation if return type doesn't depend on type parameters 2016-06-22 15:24:15 +03:00
Anna Kozlova 1c52cb7fd6 spec: no capture conversion applicable for array type; capture conversion must be applied for array access expression type; javac: no capture conversion is applicable for array access expressions with write access (IDEA-157295) 2016-06-22 15:24:15 +03:00
Alexey Kudravtsev 526a4c4d9e getDetachedInitializer() to avoid excessive stub-to-AST switches in PsiUtil.isConstantExpression() 2016-06-22 13:51:47 +03:00
Alexey Kudravtsev e43605d085 EA-82721 - ISE: VisibilityUtil.getVisibilityString 2016-06-22 13:49:18 +03:00
peter 2efdfeb065 minor isRawSubstitutor optimization 2016-06-22 11:27:04 +02:00
Alexey Kudravtsev 6b63d6bc1f encapsulate myIsConstant 2016-06-20 14:21:39 +03:00
Roman Shevchenko cb78667a0b Cleanup (unused imports; warnings; formatting) 2016-06-17 19:30:45 +03:00
peter 45cf4b1873 IDEA-151847 Freemarker: provide some more details in 'invalid Java type' message for @ftlvariable 2016-06-16 17:31:59 +02:00
Anna Kozlova 79edaf45af erasure of method call expression type if method is not generics but unchecked conversion was needed to check the applicability (IDEA-157223) 2016-06-14 11:34:32 +03:00
peter 4fd1e82d0a don't calculate PsiType annotations when not asked to 2016-06-10 17:50:28 +02:00
peter 6152c5b3c2 IDEA-151717 Ignore equals method for @ParametersAreNonnullByDefault 2016-06-07 17:44:20 +02:00
Anna Kozlova 9132043620 add single static import: allow second single static import if it doesn't produce ambiguity or hiding of on-demand import (IDEA-155031) 2016-06-07 10:57:34 +03:00
Anna Kozlova de94a3250f redundant cast inside conditional when opposite has another type 2016-06-06 17:52:24 +03:00
Roman Shevchenko 2f17ca8a16 Cleanup (formatting) 2016-06-06 11:59:47 +03:00
Anna Kozlova 3e7b1dca62 conditional: treat nulls separately and accept them as numeric/boolean branches (IDEA-157025) 2016-06-03 15:28:58 +03:00
peter a124d8b134 IDEA-154872 Good code yellow: NotNull/Nullable analysis is not working properly when annotations have target TYPE_USE 2016-06-03 09:42:06 +02:00
Roman Shevchenko 0c096a1015 [java] annotatable Java code reference elements 2016-06-02 17:48:02 +03:00
Roman Shevchenko 397fe99a92 Cleanup (javadoc; clear field name) 2016-06-02 17:39:50 +03:00
peter 7846787839 implement PsiType.annotate in all subclasses using clone 2016-06-01 22:09:28 +02:00
peter e3fe4c4871 [java] hasModifierProperty: deduplicate and cache; change PsiAugmentProvider API while we still can 2016-05-30 22:07:52 +02:00
peter f0edfe6027 try to check annotation target applicability without resolve (IDEA-155612) 2016-05-30 22:07:51 +02:00
Anna Kozlova c09e6aa438 isLocalClass should work for nested local classes (IDEA-156777) 2016-05-30 20:01:09 +03:00
Anna Kozlova 7f8b5f8952 redundant cast: process branches of conditional expressions with respect to expected type for functional expressions (IDEA-156480) 2016-05-25 18:40:17 +03:00
Daniil Ovchinnikov 20600f85dc [groovy] @Contract and @Nullable 2016-05-25 16:01:17 +03:00
Anna.Kozlova 592eddca1d PsiType#annotate: unsupported operation error replaced with log.error 2016-05-24 14:41:51 +02:00
Anna.Kozlova 9728757592 inference: extension to transform type annotations on bounds 2016-05-24 14:20:40 +02:00
Egor.Ushakov a12df12875 toString impls for builtin visibility checkers 2016-05-19 15:01:30 +03:00
Alexey Kudravtsev 416c1c5e47 cleanup 2016-05-18 15:26:10 +03:00
Anna.Kozlova d2a88e8634 cleanup 2016-05-18 11:16:42 +02:00
Alexey Kudravtsev 6c14dd135d override 2016-05-12 17:28:50 +03:00
Anna.Kozlova da211b4083 NPE (IDEA-155586) 2016-05-04 20:18:45 +02:00