Bug 48393 inline final static field [refactoring]
Please provide a refactoring to inline a constant (final static field).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineAction.java
import org.eclipse.jdt.internal.corext.refactoring.code.InlineTempRefactoring;
/**
 * Inlines a method, local variable or a static final field.
 *
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.
 * </p>
 * 
 * @since 2.1
 */
public class InlineAction extends SelectionDispatchAction {
	private CompilationUnitEditor fEditor;
	private final InlineTempAction fInlineTemp;
	private final InlineMethodAction fInlineMethod;
	private final InlineConstantAction fInlineConstant;
	/**
	 * Creates a new <code>InlineAction</code>. The action requires
	 * that the selection provided by the site's selection provider is of type <code>
	 * org.eclipse.jface.viewers.IStructuredSelection</code>.
	 *
	 * @param site the site providing context information for this action
	 */
	public InlineAction(IWorkbenchSite site) {
		super(site);
		setText(RefactoringMessages.getString("InlineAction.Inline")); 
		fInlineTemp		= new InlineTempAction(site);
		fInlineMethod	= new InlineMethodAction(site);
		fInlineConstant	= new InlineConstantAction(site);
		WorkbenchHelp.setHelp(this, IJavaHelpContextIds.INLINE_ACTION);
	}