/****************************************************************************** * Copyright (c) 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation ****************************************************************************/ package org.eclipse.gmf.runtime.doclet.proxies; import com.sun.javadoc.ClassDoc; import com.sun.javadoc.Type; /** * Proxy to a Type */ public class TypeProxy extends Proxy implements Type { public TypeProxy(Type innerType) { super (innerType); } private Type getInnerType() { return (Type)getInnerObject(); } /* (non-Javadoc) * @see com.sun.javadoc.Type#asClassDoc() */ public ClassDoc asClassDoc() { return FACTORY.createClassDocProxy(getInnerType().asClassDoc()); } /* (non-Javadoc) * @see com.sun.javadoc.Type#dimension() */ public String dimension() { return getInnerType().dimension(); } /* (non-Javadoc) * @see com.sun.javadoc.Type#qualifiedTypeName() */ public String qualifiedTypeName() { return getInnerType().qualifiedTypeName(); } /* (non-Javadoc) * @see com.sun.javadoc.Type#typeName() */ public String typeName() { return getInnerType().typeName(); } }