Commit Graph
3157 Commits
Author SHA1 Message Date
Anna Kozlova d84cfe4661 method refs: do not loose information about type arguments given by ReferenceType in receiver 2014-04-11 17:06:02 +02:00
Anna Kozlova a3348c56cb lambda-> method ref: do not insert type args to reference type if they were inferred for lambda expression 2014-04-11 17:06:01 +02:00
Anna Kozlova 6f7f761be5 IDEA-123338 2014-04-10 15:27:38 +02:00
Anna Kozlova 52951cfbfe allow to replace strings with non-final static 'constants' (IDEA-119480) 2014-04-10 15:27:37 +02:00
Anna Kozlova 666adddc20 invert boolean: ensure to invert default boolean initializer (IDEA-123510) 2014-04-09 20:21:27 +02:00
Anna Kozlova 5a0fe4306e check access class for super expressions referenced to interfaces 2014-04-09 19:27:20 +02:00
Anna Kozlova 07600e5109 testdata for IDEA-123731 2014-04-09 19:27:17 +02:00
Anna Kozlova 6d7cfc99c2 java 8: anonymous class fields could be available later in next lambdas (IDEA-123731) 2014-04-09 19:27:16 +02:00
Anna Kozlova 33f6d78833 testdata for IDEA-64103 2014-04-09 13:29:02 +02:00
Anna Kozlova e860377181 testdata for IDEA-123366 2014-04-09 13:29:01 +02:00
peter 7ddbfd5eed dfa: don't suggest to replace reference qualifiers with null 2014-04-09 12:56:20 +02:00
Anna Kozlova 6e4249e5e1 diamonds: wrong constructor selected (IDEA-123518) 2014-04-09 11:29:27 +02:00
Anna Kozlova 6fd18d16b3 unused parameter: do not highlight if method is used locally by method reference (IDEA-123265) 2014-04-08 18:28:27 +02:00
Anna Kozlova 2fa8491e90 IDEA-112552 "Replace with lambda" should use expression lambda when possible 2014-04-08 18:28:25 +02:00
Anna Kozlova c8bbd66850 anonym -> lambda, method ref: do not suggest replacement when default method is called out of functional interface context 2014-04-08 16:45:38 +02:00
Anna Kozlova 172a01d226 functional expressions & @FunctionalInterface based conflicts for pull up/push down refactorings 2014-04-08 12:18:35 +02:00
Anna Kozlova e55748fe63 functional expressions: pull up conflicts 2014-04-08 12:18:34 +02:00
Anna Kozlova 05fb5ed27b functional expressions: push down conflicts 2014-04-08 12:18:33 +02:00
Anna Kozlova d8ed05dbfa functional expressions: allow to delete/change signature of default methods of functional interfaces 2014-04-08 12:18:32 +02:00
Anna Kozlova 2a89426bce safe delete: warn about functional expressions 2014-04-07 20:42:08 +02:00
Alexander Zolotov 2f3d180fbd IDEA-123355 Postfix template expansions .null/.notnull after 'else' fail to provide a valid Java output
allow JavaWithIfExpressionSurrounder just after else keywords
2014-04-07 19:05:34 +04:00
Anna Kozlova ec1d4927bd search for functional interface implementations by lambdas and method references: change signature/find usages; to be continued (IDEA-104286; IDEA-90824) 2014-04-07 16:59:16 +02:00
Alexander ZolotovandSergey Ignatov edb1f6b86f suppress postfix templates [r=ignatov] 2014-04-07 15:08:10 +04:00
Anna Kozlova fcd50614bb name suggestions for static non-final fields should escape _ (IDEA-123441) 2014-04-04 17:55:26 +02:00
Alexander Zolotov c3a806c92d EA-55600 2014-04-04 17:14:38 +04:00
Anna Kozlova 7bb8868ef2 smart completion of method references (IDEA-123293; IDEA-123291) 2014-04-03 17:15:57 +02:00
Anna Kozlova 1daf8f50df ambiguity (IDEA-123352) 2014-04-03 17:15:53 +02:00
peter 3a0093d463 fix AIOOBE in dfa contract processing 2014-04-03 13:10:54 +02:00
Anna Kozlova edf024ca23 ensure assert inserted in correct place (IDEA-123296) 2014-04-02 20:54:10 +02:00
Anna Kozlova 565b28a089 check for assignment to final field inside lambda (IDEA-123308) 2014-04-02 20:54:08 +02:00
Anna Kozlova 9cfa60146c allow unchecked generics in comparing unrelated return types (IDEA-123316) 2014-04-02 13:52:33 +02:00
Anna Kozlova cbe0d6d860 create method from method reference (IDEA-112556) 2014-04-02 13:52:31 +02:00
Anna Kozlova 2cc9842ac2 method references: highlight separately non-instantiated classes, not resolved methods (IDEA-123279) 2014-04-02 10:51:27 +02:00
Anna Kozlova fe7b903e50 testdata fixed 2014-04-01 17:29:11 +02:00
Anna Kozlova 06d6ad7180 static in interfaces before 1.8 (IDEA-123252) 2014-04-01 17:04:14 +02:00
Anna Kozlova 5bc8717dc9 EA-55507 - IOE: PsiJavaParserFacadeImpl.createStatementFromText 2014-04-01 14:17:07 +02:00
Anna Kozlova d33575878b new inference: substitute resolved vars which e.g. did not participate in initial session (IDEA-123248) 2014-04-01 14:17:06 +02:00
Anna Kozlova 5518b93bd2 method reference constraints (IDEA-123223) 2014-04-01 14:17:05 +02:00
Anna Kozlova e28d3f5c95 method reference: use site substitutor if nothing else was inferred 2014-04-01 10:19:02 +02:00
Anna Kozlova 990094f360 new inference: collect nested calls from lambda return statements (JDK-8038747) 2014-04-01 10:19:01 +02:00
Roman Shevchenko 001e5de8dc IDEA-122931, EA-52281 (better handling for corrupted .jar files) 2014-03-31 19:04:29 +02:00
Anna Kozlova 39ec50333b testdata for IDEA-120498 2014-03-28 20:47:26 +01:00
Anna Kozlova 123ba34507 create enum constant: support constant creation when static import is used, process varargs method candidates as vararg/basic separately (IDEA-121287) 2014-03-28 20:31:52 +01:00
peter 6b91f55eb7 IDEA-122414 Boolean expression simplification changes behavior of the code 2014-03-28 19:30:28 +01:00
peter 6d2412b599 dfa: a variable can't be null after dereference (IDEA-122215) 2014-03-28 19:12:00 +01:00
peter 87a2944e37 IDEA-122624 @Contract fails on vararg methods 2014-03-28 19:12:00 +01:00
Anna Kozlova f89a7938fc IDEA-122974 expected type suggester should ignore 'null' types 2014-03-28 17:42:11 +01:00
Anna Kozlova fddab7b0c0 IDEA-123034 Unused assignment inspection - Remove quick fix 2014-03-28 17:42:10 +01:00
Anna Kozlova 84451e644a IDEA-121400 2014-03-27 20:54:28 +01:00
Anna Kozlova b55c83742b new inference: processing of compound bounds 2014-03-27 20:54:27 +01:00