if (target.getNodeType() == ASTNode.METHOD_INVOCATION) { return new InlineMethodRefactoring(unit, (MethodInvocation)target, selectionStart, selectionLength); } else if (target.getNodeType() == ASTNode.METHOD_DECLARATION) {
if (target.getNodeType() == ASTNode.METHOD_DECLARATION) {
	public static InlineMethodRefactoring create(ICompilationUnit unit, CompilationUnit node, int selectionStart, int selectionLength) {		ASTNode target= getTargetNode(unit, node, selectionStart, selectionLength);		if (target == null)			return null;		if (target.getNodeType() == ASTNode.METHOD_INVOCATION) {			return new InlineMethodRefactoring(unit, (MethodInvocation)target, selectionStart, selectionLength);		} else if (target.getNodeType() == ASTNode.METHOD_DECLARATION) {			return new InlineMethodRefactoring(unit, (MethodDeclaration)target, selectionStart, selectionLength);		} else if (target.getNodeType() == ASTNode.SUPER_METHOD_INVOCATION) {			return new InlineMethodRefactoring(unit, (SuperMethodInvocation)target, selectionStart, selectionLength);		} else if (target.getNodeType() == ASTNode.CONSTRUCTOR_INVOCATION) {			return new InlineMethodRefactoring(unit, (ConstructorInvocation)target, selectionStart, selectionLength);		}		return null;	}