01: /*
02: * Copyright (C) The Spice Group. All rights reserved.
03: *
04: * This software is published under the terms of the Spice
05: * Software License version 1.1, a copy of which has been included
06: * with this distribution in the LICENSE.txt file.
07: */
08: package org.codehaus.dna.tools.metaclass;
09:
10: import com.thoughtworks.qdox.model.JavaClass;
11: import com.thoughtworks.qdox.model.JavaSource;
12:
13: /**
14: *
15: * @author Peter Donald
16: * @version $Revision: 1.1 $ $Date: 2004/04/18 20:13:48 $
17: */
18: class MockJavaClass extends JavaClass {
19: public MockJavaClass() {
20: super (new MockJavaSource());
21: }
22:
23: public String getFullyQualifiedName() {
24: return getName();
25: }
26:
27: public JavaSource getParentSource() {
28: return new MockJavaSource();
29: }
30: }
|