Added quckfix for PROJECTION_IN_IMMEDIATE_ARGUMENT_TO_SUPERTYPE

This commit is contained in:
Agnieszka Paszek
2013-02-15 19:57:30 +01:00
committed by Evgeny Gerashchenko
parent 7c041d5c94
commit da2880f985
3 changed files with 9 additions and 0 deletions
@@ -204,6 +204,7 @@ public class QuickFixes {
factories.put(CONFLICTING_PROJECTION, RemoveModifierFix.createRemoveProjectionFactory(false));
factories.put(PROJECTION_ON_NON_CLASS_TYPE_ARGUMENT, RemoveModifierFix.createRemoveProjectionFactory(false));
factories.put(PROJECTION_IN_IMMEDIATE_ARGUMENT_TO_SUPERTYPE, RemoveModifierFix.createRemoveProjectionFactory(false));
factories.put(NOT_AN_ANNOTATION_CLASS, MakeClassAnAnnotationClassFix.createFactory());
@@ -0,0 +1,4 @@
// "Remove 'in' modifier" "true"
trait A<T> {}
class B : A<Int> {}
@@ -0,0 +1,4 @@
// "Remove 'in' modifier" "true"
trait A<T> {}
class B : A<<caret>in Int> {}