01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.corext.refactoring;
11:
12: import org.eclipse.jdt.core.ICompilationUnit;
13:
14: public class StubTypeContext {
15: private String fBeforeString;
16: private String fAfterString;
17: private final ICompilationUnit fCuHandle;
18:
19: public StubTypeContext(ICompilationUnit cuHandle,
20: String beforeString, String afterString) {
21: fCuHandle = cuHandle;
22: fBeforeString = beforeString;
23: fAfterString = afterString;
24: }
25:
26: public ICompilationUnit getCuHandle() {
27: return fCuHandle;
28: }
29:
30: public String getBeforeString() {
31: return fBeforeString;
32: }
33:
34: public String getAfterString() {
35: return fAfterString;
36: }
37: }
|