KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > corext > refactoring > StubTypeContext


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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 JavaDoc fBeforeString;
19     private String JavaDoc fAfterString;
20     private final ICompilationUnit fCuHandle;
21     
22     public StubTypeContext(ICompilationUnit cuHandle, String JavaDoc beforeString, String JavaDoc afterString) {
23         fCuHandle= cuHandle;
24         fBeforeString= beforeString;
25         fAfterString= afterString;
26     }
27     
28     public ICompilationUnit getCuHandle() {
29         return fCuHandle;
30     }
31     
32     public String JavaDoc getBeforeString() {
33         return fBeforeString;
34     }
35     
36     public String JavaDoc getAfterString() {
37         return fAfterString;
38     }
39 }
40
Popular Tags