Commit Graph

260 Commits

Author SHA1 Message Date
anna
f63576f878 create constructor matching super: insert braces when no present (IDEA-77194) 2012-01-13 21:33:58 +01:00
anna
c3ce1ae00f insert same notnull annotation as exist on the existing field (IDEA-79436) 2011-12-29 15:43:49 +01:00
anna
4f513cbd94 EA-31069 - assert: RefactoringUtil.getChainedConstructor 2011-12-28 16:01:34 +01:00
anna
60d4f42363 constructor parameters from fields: sort params in fields order 2011-12-26 18:55:17 +01:00
anna
042e92601f diamonds: retrieve qualifier type 2011-12-19 18:23:27 +01:00
anna
09c0ca15d8 IDEA-78031 diamonds with new qualifiers 2011-12-19 12:37:02 +01:00
anna
44ecd52b97 change variable type from assignment: change method signature when variable is a parameter (IDEA-71674) 2011-12-16 08:47:17 +01:00
Roman Shevchenko
c917bfc09b IDEA-77008 (warn about generics in qualifier reference inside type cast) 2011-12-07 16:39:03 +01:00
anna
99f4b3a821 try to infer types before check for applicability (IDEA-68986)
(cherry picked from commit d8bbd5c1b70135cd1eee5215dd2bffaf6d16e905)
2011-12-06 10:37:40 +01:00
anna
c0a54042f2 disable on demand static import for private classes (IDEA-74951) 2011-11-23 14:11:30 +01:00
anna
7174066876 do not report unused imports for files with disabled highlighting (IDEA-76478) 2011-11-13 18:58:29 +01:00
anna
c2f6991ffd skip fields with initializer when generate constructor parameters; also skip static fields without initializer (IDEA-76621) 2011-11-13 18:58:28 +01:00
anna
ac9fe766c4 EA-31560 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2011-11-11 10:34:56 +01:00
anna
1281244110 EA-31554 - NPE: HighlightClassUtil$ImplementAbstractClassMethodsFix.invoke (disable for "too" incomplete expressions) 2011-11-10 16:58:24 +01:00
Roman Shevchenko
259c98c535 IDEA-70214 (forward lookup for type parameters) 2011-11-08 20:43:01 +01:00
anna
1b38bd0d7a do not warn about inconsistent throws for interface with 2 independent parent interfaces (IDEA-76337) 2011-11-03 21:02:50 +01:00
anna
7b0692acbc simplifying of polyadic expressions:IDEA-76076 2011-10-28 13:45:42 +02:00
Denis.Zhdanov
14ebb93450 IDEA-75781 Allow color configuration for 'Class Declaration' vs. just 'Class'
Test data is corrected
2011-10-28 11:12:03 +04:00
anna
1ba41a4b26 qualify this with containing class (IDEA-49251) 2011-10-25 20:17:53 +02:00
anna
ed24c9b396 create annotation method from usage (IDEA-75910 ) 2011-10-25 20:17:53 +02:00
anna
2dde0244eb ignore abstract non-serializable classes with "serializable methods" in editor; check if there are non-abstract serializable subclasses in batch mode (IDEA-74261 ) 2011-10-10 14:17:44 +02:00
anna
9188075b91 expand implement methods fix availability for new Runnable()<caret> (IDEA-74043 ) 2011-10-07 14:11:21 +02:00
anna
2bd262433b missed substitutor in hash code (IDEA-74581) 2011-09-27 15:55:24 +02:00
anna
9bd778fc21 test data for IDEA-74581 2011-09-26 12:45:06 +02:00
anna
18b6fe1bd4 check method signatures equality by erasure; do not check method names for constructors.
note that erasure of type parameter is erasure of its left bound (jls), so erasure (T extends A & B) != erasure (T extends B & A)
e.g. IDEA-74409
2011-09-23 08:00:09 +02:00
Alexey Kudravtsev
bc00768fd6 IDEA-67098 + com.intellij.codeInsight.daemon.DaemonAnalyzerTestCase.testFile fluent interface 2011-09-20 18:39:10 +04:00
anna
263680df94 use type parameter bound when normalize super wildcard by position (IDEA-73980) 2011-09-14 19:36:26 +02:00
anna
daa3c0ff05 disable rename as wrong ref on invalid access refs; though enable quick fix there 2011-09-14 19:36:25 +02:00
anna
b9f48882af create field from parameter: when field would be final and parameter is NotNull then the field should be also @NotNull (IDEA-74136) 2011-09-13 20:23:49 +02:00
Bas Leijdekkers
8ff3af2a35 Simplification of "@NotNull/@Nullable problems" inspection settings 2011-09-09 15:53:55 +02:00
anna
32e09dafb3 fix delegation to abstract method (EA-29618 - NPE: DelegateWithDefaultParamValueIntentionAction.invoke) 2011-09-09 10:54:30 +02:00
anna
b294192ac2 diamonds: should check raw types when error occurs before inference is even started (IDEA-74053) 2011-09-08 19:27:51 +02:00
anna
8fef5fc92d replace with diamonds should always check if inferred type agrees with expected type (IDEA-73944) 2011-09-07 12:18:58 +02:00
anna
ca2c3bc539 SOE (IDEA-69752 ) 2011-09-06 11:54:45 +02:00
anna
c09410b3b5 @Override quick fixes: suggest to pull method up; pull members up, extract interface/superclass (IDEA-55720 ) 2011-09-06 11:54:45 +02:00
Alexey Kudravtsev
ee1a3cb532 IDEA-72851 2011-09-02 13:50:55 +04:00
anna
a8172fdc67 replace inaccessible field with getter/setter (IDEA-22752) 2011-09-01 16:04:33 +02:00
anna
cd43fc0173 change new type & collapse generics for java 7 (IDEA-73517) 2011-09-01 16:04:31 +02:00
anna
ab1d2768b6 diamonds: do not capture wildcard on inference (IDEA-73689 ) 2011-08-31 16:53:36 +02:00
anna
818ef93d29 rename constructor matching class (IDEA-22812 ) 2011-08-26 19:01:05 +02:00
anna
b07cacac30 expect errors on importing from default packet 2011-08-26 18:14:26 +02:00
anna
9bc5f34ff8 process c-style arrays in setInitializer (IDEA-20538 ) 2011-08-26 17:57:19 +02:00
anna
ef6071d1ca test data fixed to exclude imports for default package 2011-08-26 15:58:34 +02:00
anna
15b1d535cd add single static import on inaccessible element - retrieve accessible or do not suggest intention (IDEA-18050 ) 2011-08-26 15:58:33 +02:00
anna
df6d79ce8a add single static import on type elements, e.g. inside annotations, type elements (IDEA-22130) 2011-08-26 13:34:31 +02:00
anna
6794da37dd add single static import: check method base class beforehand (IDEA-12607 ) 2011-08-26 13:34:30 +02:00
anna
c88166026e forbid default package classes in imports (IDEA-18695) 2011-08-26 13:34:27 +02:00
anna
0f5615356b provide also create annotation from usage (IDEA-19746 ) 2011-08-25 19:26:03 +02:00
anna
008326cc84 forbid cast primitive to type parameter (IDEA-52484; IDEA-23260) 2011-08-25 19:26:02 +02:00
anna
6f31251be4 disable add single static import when on demand exists (IDEA-62321) 2011-08-24 12:06:00 +02:00