]> git.uio.no Git - ifi-stolz-refaktor.git/blob - case-study/jdt-before/core refactoring/org/eclipse/jdt/internal/corext/refactoring/StubTypeContext.java
Case Study: adding data and statistics
[ifi-stolz-refaktor.git] / case-study / jdt-before / core refactoring / org / eclipse / jdt / internal / corext / refactoring / StubTypeContext.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2008 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11
12 package org.eclipse.jdt.internal.corext.refactoring;
13
14 import org.eclipse.jdt.core.ICompilationUnit;
15
16
17 public class StubTypeContext {
18         private String fBeforeString;
19         private String fAfterString;
20         private final ICompilationUnit fCuHandle;
21
22         public StubTypeContext(ICompilationUnit cuHandle, String beforeString, String afterString) {
23                 fCuHandle= cuHandle;
24                 fBeforeString= beforeString;
25                 fAfterString= afterString;
26         }
27
28         public ICompilationUnit getCuHandle() {
29                 return fCuHandle;
30         }
31
32         public String getBeforeString() {
33                 return fBeforeString;
34         }
35
36         public String getAfterString() {
37                 return fAfterString;
38         }
39 }