Commit Graph
3375 Commits
Author SHA1 Message Date
anna e8ef5ea7d7 allow to add static import for containing class when it already contains imported members (IDEA-96156) 2013-04-25 14:14:51 +02:00
anna bca1f12e1e move members: no need to align according to nested classes (IDEA-106175) 2013-04-25 14:14:50 +02:00
anna 7463ed3c9b inline: accept to inline constant from library (IDEA-106167) 2013-04-25 14:14:49 +02:00
batya239 c96285a01c quick fix for find super that has frequently used inheritors 2013-04-25 14:03:43 +04:00
anna b7eff52b83 safe delete: do not insert additional extends item if already present (IDEA-106144) 2013-04-24 20:52:41 +02:00
anna 7c0df8e26f redundant cast: do not report redundant cast if dbl boxing/unboxing is prevented (IDEA-105323) 2013-04-24 19:16:27 +02:00
Roman Shevchenko 44e359d268 IDEA-106119 (more rigorous check for "this" qualifier) 2013-04-24 17:01:31 +02:00
Roman Shevchenko c75897f520 Test cleanup 2013-04-24 17:01:30 +02:00
anna 3d9008c296 add single static import: process nested references (IDEA-94951) 2013-04-24 16:27:01 +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
Roman Shevchenko 7219191352 IDEA-106044 (overcautious assertion dropped) 2013-04-24 14:03:25 +02:00
Denis.Zhdanov 61d158c511 IDEA-106089 Java rearranger: Correct the processing
Don't expand arrangement entry range to the whole line if there are non other non-whitespace elements there
2013-04-24 10:27:13 +04:00
anna 6100f5a690 extract class: do not warn about usages of statics in class initializers, preserve static imports (IDEA-106017) 2013-04-23 16:53:58 +02:00
anna 1b0f032a13 extract class: leave reference parameters untouched after replacement (IDEA-106017) 2013-04-23 16:53:58 +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 1874c274e6 name suggestions tweaks (IDEA-105963) 2013-04-23 15:35:48 +02:00
anna d67a21f788 redundant cast: ignore for lambda casts with serializable/intersections (IDEA-105839) 2013-04-22 18:00:30 +02:00
anna 5616d066c5 safe delete: more precise check for top level comments (IDEA-105923) 2013-04-22 18:00:29 +02:00
anna 11f81e0be7 accept this refs inside anonymous classes in java 8 interfaces (IDEA-105892) 2013-04-22 15:50:32 +02:00
anna 566ef9c3ab check for upper bound in wrapped wildcard (IDEA-105846) 2013-04-22 15:50:31 +02:00
anna 599a28d446 move static to interface (IDEA-105844) 2013-04-22 13:55:13 +02:00
Alexey Kudravtsev e84e6246a0 NotNull 2013-04-19 12:43:51 +04:00
Alexey Kudravtsev f877c5cade HighlightInfo memory IDEA-105278 2013-04-18 13:11:19 +04:00
Roman Shevchenko c362124ffd IDEA-105455 (encode type information in type element copy) 2013-04-17 19:35:42 +02:00
Roman Shevchenko dcd8d22ade Test renamed to avoid confusion 2013-04-17 19:35:42 +02:00
anna 2a94c547e7 option to ignore simple getters/setters: off by default as private fields by default do not require javadoc (IDEA-43830) 2013-04-17 18:23:14 +02:00
anna ceb9354f15 extract method: duplicates processing fixed (IDEA-105562) 2013-04-17 15:58:52 +02:00
anna 47d6ba424e create subclass: restore caret position after delegate constructors are inserted (IDEA-105566) 2013-04-17 15:58:51 +02:00
Roman Shevchenko aec23d1dab IDEA-105110 (check repeatable annotation container applicability) 2013-04-16 16:27:09 +02:00
Roman Shevchenko 8110c941f6 Repeatable annotations highlighting text corrected 2013-04-16 16:27:08 +02:00
anna 8e189439ca test for IDEA-105455 2013-04-16 14:58:55 +02:00
anna 33f3792dc3 default methods in java 8: suggest to mark interface methods with body with default/static (IDEA-105420) 2013-04-16 11:19:48 +02:00
anna 7d81db930c inplace rename: include nameIdentifier in rename template when no reference covers this identifier 2013-04-15 17:37:44 +02:00
Alexey Kudravtsev 9f4eac2f29 IDEA-81633 2013-04-15 11:30:05 +04:00
anna 33dee73821 extract enum: do not include constants when user don't ask to; check that variable was already migrated and getter is already not needed (IDEA-103509) 2013-04-12 18:31:06 +02:00
anna b4c0420a4d no enclosing instance: sibling static nested class should be also be checked (IDEA-105004) 2013-04-11 17:02:09 +02:00
anna 38d197e704 static method calls should not be treated as inherited (IDEA-105021) 2013-04-11 17:02:08 +02:00
anna f622b3c704 annotation interfaces: highlight methods which override public/protected methods of Object/Annotation (9.6.1. Annotation Type Elements) 2013-04-11 13:23:50 +02:00
anna 2eb25bff4e disable override object/annotation methods in annotation interface 2013-04-11 13:23:49 +02:00
anna 42763f9275 IDEA-105101 Java: bad code is green: cyclic annotation element types
(JLS 9.6.1. Annotation Type Elements)
2013-04-11 13:23:48 +02:00
anna 55d981e071 inline: fix qualifier which is inserted to specify type params after inline (IDEA-104536) 2013-04-10 21:34:01 +02:00
anna 8e140d8df7 javadoc: append enum ordinal in quick doc (IDEA-104906) 2013-04-10 16:27:05 +02:00
anna a9544ca296 move to inner: do not raise a conflict when move class with private inner class (IDEA-104986) 2013-04-10 15:11:51 +02:00
anna feed82a5bd replace constructor with factory: insert class type parameters for default constructor(IDEA-104858) 2013-04-10 12:13:18 +02:00
Roman Shevchenko 2ed5f43708 Diamond type's getPresentableText() behavior restored 2013-04-05 23:10:55 +02:00
Roman Shevchenko 52c17b2657 Type annotations on C-style arrays are recognized now even better 2013-04-05 22:28:42 +02:00
Roman Shevchenko 218fd54bf2 Type annotation in wildcard and class reference types; more tests 2013-04-05 21:08:12 +02:00
anna ae8ab9589e IDEA-103758 2013-04-05 17:02:57 +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 fc602c65bc PsiTypeElement.getType() fixed 2013-04-04 19:38:46 +02:00