Rearranging Code in IntelliJ IDEA

How you can rearrange code in your classes and projects