Extracting a method

To extract a method:

  1. In an editor, select a set of statements or an expression from a method body.
  2. Do one of the following:
Related concepts

Java development tools (JDT)

Related tasks

Overriding a method
Renaming a method

Related reference

Refactoring actions
Refactoring wizard
Refactoring preferences
Extract method errors

Copyright IBM Corporation 2000, 2002. All Rights Reserved.