Reports cases when the dynamic constructor call could be safely replaced with a factory method call.
Example:
import akka.actor._
class Foo extends AbstractActor
object Foo {
def props(): Props = Props(new Foo())
}
Props(classOf[Foo])
After the quick-fix is applied:
import akka.actor._
class Foo extends AbstractActor
object Foo {
def props(): Props = Props(new Foo())
}
Foo.props()