com.cedarsoft.codegen.mock
Class CollectionTypeMirrorMock
java.lang.Object
com.cedarsoft.codegen.mock.TypeMirrorMock
com.cedarsoft.codegen.mock.ReferenceTypeMock
com.cedarsoft.codegen.mock.CollectionTypeMirrorMock
- All Implemented Interfaces:
- com.sun.mirror.type.DeclaredType, com.sun.mirror.type.ReferenceType, com.sun.mirror.type.TypeMirror
public class CollectionTypeMirrorMock
- extends ReferenceTypeMock
- implements com.sun.mirror.type.DeclaredType
| Methods inherited from interface com.sun.mirror.type.TypeMirror |
accept, equals |
CollectionTypeMirrorMock
public CollectionTypeMirrorMock(@NotNull
Class<?> collectionType)
CollectionTypeMirrorMock
public CollectionTypeMirrorMock(@NotNull
Class<?> collectionType,
@Nullable
Class<?> type)
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
getCollectionType
@NotNull
public Class<?> getCollectionType()
toString
public String toString()
- Specified by:
toString in interface com.sun.mirror.type.TypeMirror- Overrides:
toString in class ReferenceTypeMock
Copyright © 2010 cedarsoft GmbH. All Rights Reserved.