com.cedarsoft.codegen.mock
Class DeclaredTypeMock

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

public class DeclaredTypeMock
extends ReferenceTypeMock
implements com.sun.mirror.type.DeclaredType


Field Summary
 
Fields inherited from class com.cedarsoft.codegen.mock.ReferenceTypeMock
type
 
Constructor Summary
DeclaredTypeMock(Class<?> type)
           
 
Method Summary
 Collection<com.sun.mirror.type.TypeMirror> getActualTypeArguments()
           
 com.sun.mirror.type.DeclaredType getContainingType()
           
 com.sun.mirror.declaration.TypeDeclaration getDeclaration()
           
 Collection<com.sun.mirror.type.InterfaceType> 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.TypeMirror
accept, equals, toString
 

Constructor Detail

DeclaredTypeMock

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

getDeclaration

public com.sun.mirror.declaration.TypeDeclaration getDeclaration()
Specified by:
getDeclaration in interface com.sun.mirror.type.DeclaredType

getContainingType

public com.sun.mirror.type.DeclaredType getContainingType()
Specified by:
getContainingType in interface com.sun.mirror.type.DeclaredType

getActualTypeArguments

public Collection<com.sun.mirror.type.TypeMirror> getActualTypeArguments()
Specified by:
getActualTypeArguments in interface com.sun.mirror.type.DeclaredType

getSuperinterfaces

public Collection<com.sun.mirror.type.InterfaceType> getSuperinterfaces()
Specified by:
getSuperinterfaces in interface com.sun.mirror.type.DeclaredType


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.