mockmaker.structure
Class SourceTypeStructure

java.lang.Object
  extended bymockmaker.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)
           
 
Method Summary
 int getArrayDimensions()
           
 MethodStructure[] getConstructors()
           
 java.lang.String getExpectationName(java.lang.String name)
           
 MethodStructure[] getMethods()
           
 java.lang.String getName()
           
 boolean isArray()
           
 boolean isInterface()
           
 boolean isPrimitive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SourceTypeStructure

SourceTypeStructure(com.thoughtworks.qdox.model.Type type,
                    com.thoughtworks.qdox.model.JavaMethod mth,
                    java.lang.String paramName)
Method Detail

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