com.cedarsoft.codegen.mock
Class ClassTypeMock

java.lang.Object
  extended by com.cedarsoft.codegen.mock.TypeMirrorMock
      extended by com.cedarsoft.codegen.mock.ReferenceTypeMock
          extended by com.cedarsoft.codegen.mock.DeclaredTypeMock
              extended by com.cedarsoft.codegen.mock.ClassTypeMock
All Implemented Interfaces:
com.sun.mirror.type.ClassType, com.sun.mirror.type.DeclaredType, com.sun.mirror.type.ReferenceType, com.sun.mirror.type.TypeMirror

public class ClassTypeMock
extends DeclaredTypeMock
implements com.sun.mirror.type.ClassType


Field Summary
 
Fields inherited from class com.cedarsoft.codegen.mock.ReferenceTypeMock
type
 
Constructor Summary
ClassTypeMock(Class<?> type)
           
 
Method Summary
 com.sun.mirror.declaration.ClassDeclaration getDeclaration()
           
 com.sun.mirror.type.ClassType getSuperclass()
           
 
Methods inherited from class com.cedarsoft.codegen.mock.DeclaredTypeMock
getActualTypeArguments, getContainingType, getSuperinterfaces
 
Methods inherited from class com.cedarsoft.codegen.mock.ReferenceTypeMock
toString
 
Methods inherited from class com.cedarsoft.codegen.mock.TypeMirrorMock
accept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.mirror.type.DeclaredType
getActualTypeArguments, getContainingType, getSuperinterfaces
 
Methods inherited from interface com.sun.mirror.type.TypeMirror
accept, equals, toString
 

Constructor Detail

ClassTypeMock

public ClassTypeMock(@NotNull
                     Class<?> type)
Method Detail

getSuperclass

public com.sun.mirror.type.ClassType getSuperclass()
Specified by:
getSuperclass in interface com.sun.mirror.type.ClassType

getDeclaration

public com.sun.mirror.declaration.ClassDeclaration getDeclaration()
Specified by:
getDeclaration in interface com.sun.mirror.type.ClassType
Specified by:
getDeclaration in interface com.sun.mirror.type.DeclaredType
Overrides:
getDeclaration in class DeclaredTypeMock


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.