mockmaker.structure
Class SourceTypeStructure
java.lang.Object
mockmaker.structure.SourceTypeStructure
- All Implemented Interfaces:
- ClassStructure
- public class SourceTypeStructure
- extends java.lang.Object
- implements ClassStructure
Field Summary |
private com.thoughtworks.qdox.model.JavaMethod |
mth
|
private java.lang.String |
paramName
|
private static java.util.Set |
primitives
|
private com.thoughtworks.qdox.model.Type |
type
|
Constructor Summary |
(package private) |
SourceTypeStructure(com.thoughtworks.qdox.model.Type type,
com.thoughtworks.qdox.model.JavaMethod mth,
java.lang.String paramName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private com.thoughtworks.qdox.model.Type type
mth
private com.thoughtworks.qdox.model.JavaMethod mth
paramName
private java.lang.String paramName
primitives
private static java.util.Set primitives
SourceTypeStructure
SourceTypeStructure(com.thoughtworks.qdox.model.Type type,
com.thoughtworks.qdox.model.JavaMethod mth,
java.lang.String paramName)
getName
public java.lang.String getName()
- Specified by:
getName
in interface ClassStructure
isArray
public boolean isArray()
- Specified by:
isArray
in interface ClassStructure
getArrayDimensions
public int getArrayDimensions()
- Specified by:
getArrayDimensions
in interface ClassStructure
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in interface ClassStructure
getExpectationName
public java.lang.String getExpectationName(java.lang.String name)
- Specified by:
getExpectationName
in interface ClassStructure
isInterface
public boolean isInterface()
- Specified by:
isInterface
in interface ClassStructure
getMethods
public MethodStructure[] getMethods()
- Specified by:
getMethods
in interface ClassStructure
getConstructors
public MethodStructure[] getConstructors()
- Specified by:
getConstructors
in interface ClassStructure