InsertStatement

Inserts a statement in a method/constructor.

Availability

This action is available when using following search targets:

Configuration options

code

The code to insert.

insertStatement:
  code: "this.veryImportantFirst();"
  void MyType() {
    super(false);
+   this.veryImportantFirst();
    this.othermethod();
  }

position

Decides where to insert the statement. Currently the only options are "top" and "bottom".