aaa85c6bcce8db2c9b5abe48f6920979dba03881
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / codeassist / select / SelectionOnFieldType.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v0.5 
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v05.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  ******************************************************************************/
11 package net.sourceforge.phpdt.internal.codeassist.select;
12
13 import net.sourceforge.phpdt.internal.compiler.ast.FieldDeclaration;
14 import net.sourceforge.phpdt.internal.compiler.ast.TypeReference;
15
16 public class SelectionOnFieldType extends FieldDeclaration {
17         public SelectionOnFieldType(TypeReference type) {
18                 super();
19                 this.sourceStart = type.sourceStart;
20                 this.sourceEnd = type.sourceEnd;
21                 this.type = type;
22                 this.name = NoChar;
23         }
24         public String toString(int tab) {
25                 return type.toString(tab);
26         }
27 }