Allow regex matching of available action names; accept both 2016.2 and 2016.3 names of static import quickfix

This commit is contained in:
Dmitry Jemerov
2016-12-08 16:31:59 +03:00
parent 76b5eadbaa
commit b8dc1b6771
13 changed files with 43 additions and 26 deletions
@@ -1,5 +1,5 @@
// FILE: bar/Foo.before.java
// "Static import method 'foo.Bar.setVariable'" "true"
// "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true"
// ERROR: Unresolved reference: setVariable
// ACTION: Create method 'foobar'
// WITH_RUNTIME
@@ -21,7 +21,7 @@ object Bar {
}
// FILE: bar/Foo.after.java
// "Static import method 'foo.Bar.setVariable'" "true"
// "/(Static import|Import static) method 'foo.Bar.setVariable'/" "true"
// ERROR: Unresolved reference: setVariable
// ACTION: Create method 'foobar'
// WITH_RUNTIME