public InlineMethodRefactoring(IMethod method) { Assert.isNotNull(method); Assert.isTrue(!method.isBinary() || JavaElementUtil.isSourceAvailable(method)); fMethod= method;
private InlineMethodRefactoring(IJavaElement unit, ASTNode node, int offset, int length) { Assert.isNotNull(unit); Assert.isTrue(JavaModelUtil.isTypeContainerUnit(unit)); Assert.isTrue(JavaElementUtil.isSourceAvailable((ISourceReference) unit)); Assert.isNotNull(node); fInitialUnit= unit; fInitialNode= node; fSelectionStart= offset; fSelectionLength= length;
	public InlineMethodRefactoring(IMethod method) {		Assert.isNotNull(method);		Assert.isTrue(!method.isBinary() || JavaElementUtil.isSourceAvailable(method));		fMethod= method;	}