1 18 package org.apache.beehive.netui.compiler.xdoclet.typesystem.impl.type; 19 20 import org.apache.beehive.netui.compiler.typesystem.type.ClassType; 21 import org.apache.beehive.netui.compiler.typesystem.declaration.ClassDeclaration; 22 import org.apache.beehive.netui.compiler.xdoclet.typesystem.impl.WrapperFactory; 23 import xjavadoc.XClass; 24 25 public class ClassTypeImpl 26 extends DeclaredTypeImpl 27 implements ClassType 28 { 29 public ClassTypeImpl( XClass delegate ) 30 { 31 super( delegate ); 32 } 33 34 public ClassType getSuperclass() 35 { 36 return WrapperFactory.get().getClassType( getDelegateXClass().getSuperclass() ); 37 } 38 39 public ClassDeclaration getClassTypeDeclaration() 40 { 41 return WrapperFactory.get().getClassDeclaration( getDelegateXClass() ); 42 } 43 44 public XClass getDelegateXClass() 45 { 46 return ( XClass ) super.getDelegate(); 47 } 48 } 49 | Popular Tags |