KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > dna > tools > metaclass > MockJavaSource


1 /*
2  * Copyright (C) The Spice Group. All rights reserved.
3  *
4  * This software is published under the terms of the Spice
5  * Software License version 1.1, a copy of which has been included
6  * with this distribution in the LICENSE.txt file.
7  */

8 package org.codehaus.dna.tools.metaclass;
9
10 import com.thoughtworks.qdox.model.JavaSource;
11
12 /**
13  *
14  * @author Peter Donald
15  * @version $Revision: 1.1 $ $Date: 2004/04/18 20:13:48 $
16  */

17 class MockJavaSource
18     extends JavaSource
19 {
20     static final String JavaDoc PREFIX = "com.biz.";
21
22     public String JavaDoc resolveType( final String JavaDoc name )
23     {
24         return PREFIX + name;
25     }
26 }
27
Popular Tags